home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 September / PCWorld_2007-09_cd.bin / system / ntfs / ntfsundelete.exe / {app} / pyue / fstools.pyc (.txt) < prev    next >
Python Compiled Bytecode  |  2007-07-23  |  109KB  |  3,192 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.4)
  3.  
  4. import _fstools
  5. import new
  6. new_instancemethod = new.instancemethod
  7.  
  8. try:
  9.     _swig_property = property
  10. except NameError:
  11.     pass
  12.  
  13.  
  14. def _swig_setattr_nondynamic(self, class_type, name, value, static = 1):
  15.     if name == 'thisown':
  16.         return self.this.own(value)
  17.     
  18.     if name == 'this':
  19.         if type(value).__name__ == 'PySwigObject':
  20.             self.__dict__[name] = value
  21.             return None
  22.         
  23.     
  24.     method = class_type.__swig_setmethods__.get(name, None)
  25.     if method:
  26.         return method(self, value)
  27.     
  28.     if not static or hasattr(self, name):
  29.         self.__dict__[name] = value
  30.     else:
  31.         raise AttributeError('You cannot add attributes to %s' % self)
  32.  
  33.  
  34. def _swig_setattr(self, class_type, name, value):
  35.     return _swig_setattr_nondynamic(self, class_type, name, value, 0)
  36.  
  37.  
  38. def _swig_getattr(self, class_type, name):
  39.     if name == 'thisown':
  40.         return self.this.own()
  41.     
  42.     method = class_type.__swig_getmethods__.get(name, None)
  43.     if method:
  44.         return method(self)
  45.     
  46.     raise AttributeError, name
  47.  
  48.  
  49. def _swig_repr(self):
  50.     
  51.     try:
  52.         strthis = 'proxy of ' + self.this.__repr__()
  53.     except:
  54.         strthis = ''
  55.  
  56.     return '<%s.%s; %s >' % (self.__class__.__module__, self.__class__.__name__, strthis)
  57.  
  58. import types
  59.  
  60. try:
  61.     _object = types.ObjectType
  62.     _newclass = 1
  63. except AttributeError:
  64.     
  65.     class _object:
  66.         pass
  67.  
  68.     _newclass = 0
  69.  
  70. del types
  71.  
  72. try:
  73.     import weakref
  74.     weakref_proxy = weakref.proxy
  75. except:
  76.     
  77.     weakref_proxy = lambda x: x
  78.  
  79. PARTITION_XINT13_EXTENDED = _fstools.PARTITION_XINT13_EXTENDED
  80. PARTITION_EXTENDED = _fstools.PARTITION_EXTENDED
  81. PARTITION_ENTRY_UNUSED = _fstools.PARTITION_ENTRY_UNUSED
  82.  
  83. class BIOS_PARAMETER_BLOCK(_object):
  84.     __swig_setmethods__ = { }
  85.     
  86.     __setattr__ = lambda self, name, value: _swig_setattr(self, BIOS_PARAMETER_BLOCK, name, value)
  87.     __swig_getmethods__ = { }
  88.     
  89.     __getattr__ = lambda self, name: _swig_getattr(self, BIOS_PARAMETER_BLOCK, name)
  90.     __repr__ = _swig_repr
  91.     __swig_setmethods__['bytes_per_sector'] = _fstools.BIOS_PARAMETER_BLOCK_bytes_per_sector_set
  92.     __swig_getmethods__['bytes_per_sector'] = _fstools.BIOS_PARAMETER_BLOCK_bytes_per_sector_get
  93.     if _newclass:
  94.         bytes_per_sector = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_bytes_per_sector_get, _fstools.BIOS_PARAMETER_BLOCK_bytes_per_sector_set)
  95.     
  96.     __swig_setmethods__['sectors_per_cluster'] = _fstools.BIOS_PARAMETER_BLOCK_sectors_per_cluster_set
  97.     __swig_getmethods__['sectors_per_cluster'] = _fstools.BIOS_PARAMETER_BLOCK_sectors_per_cluster_get
  98.     if _newclass:
  99.         sectors_per_cluster = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_sectors_per_cluster_get, _fstools.BIOS_PARAMETER_BLOCK_sectors_per_cluster_set)
  100.     
  101.     __swig_setmethods__['reserved_sectors'] = _fstools.BIOS_PARAMETER_BLOCK_reserved_sectors_set
  102.     __swig_getmethods__['reserved_sectors'] = _fstools.BIOS_PARAMETER_BLOCK_reserved_sectors_get
  103.     if _newclass:
  104.         reserved_sectors = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_reserved_sectors_get, _fstools.BIOS_PARAMETER_BLOCK_reserved_sectors_set)
  105.     
  106.     __swig_setmethods__['fats'] = _fstools.BIOS_PARAMETER_BLOCK_fats_set
  107.     __swig_getmethods__['fats'] = _fstools.BIOS_PARAMETER_BLOCK_fats_get
  108.     if _newclass:
  109.         fats = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_fats_get, _fstools.BIOS_PARAMETER_BLOCK_fats_set)
  110.     
  111.     __swig_setmethods__['root_entries'] = _fstools.BIOS_PARAMETER_BLOCK_root_entries_set
  112.     __swig_getmethods__['root_entries'] = _fstools.BIOS_PARAMETER_BLOCK_root_entries_get
  113.     if _newclass:
  114.         root_entries = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_root_entries_get, _fstools.BIOS_PARAMETER_BLOCK_root_entries_set)
  115.     
  116.     __swig_setmethods__['sectors'] = _fstools.BIOS_PARAMETER_BLOCK_sectors_set
  117.     __swig_getmethods__['sectors'] = _fstools.BIOS_PARAMETER_BLOCK_sectors_get
  118.     if _newclass:
  119.         sectors = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_sectors_get, _fstools.BIOS_PARAMETER_BLOCK_sectors_set)
  120.     
  121.     __swig_setmethods__['media_type'] = _fstools.BIOS_PARAMETER_BLOCK_media_type_set
  122.     __swig_getmethods__['media_type'] = _fstools.BIOS_PARAMETER_BLOCK_media_type_get
  123.     if _newclass:
  124.         media_type = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_media_type_get, _fstools.BIOS_PARAMETER_BLOCK_media_type_set)
  125.     
  126.     __swig_setmethods__['sectors_per_fat'] = _fstools.BIOS_PARAMETER_BLOCK_sectors_per_fat_set
  127.     __swig_getmethods__['sectors_per_fat'] = _fstools.BIOS_PARAMETER_BLOCK_sectors_per_fat_get
  128.     if _newclass:
  129.         sectors_per_fat = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_sectors_per_fat_get, _fstools.BIOS_PARAMETER_BLOCK_sectors_per_fat_set)
  130.     
  131.     __swig_setmethods__['sectors_per_track'] = _fstools.BIOS_PARAMETER_BLOCK_sectors_per_track_set
  132.     __swig_getmethods__['sectors_per_track'] = _fstools.BIOS_PARAMETER_BLOCK_sectors_per_track_get
  133.     if _newclass:
  134.         sectors_per_track = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_sectors_per_track_get, _fstools.BIOS_PARAMETER_BLOCK_sectors_per_track_set)
  135.     
  136.     __swig_setmethods__['heads'] = _fstools.BIOS_PARAMETER_BLOCK_heads_set
  137.     __swig_getmethods__['heads'] = _fstools.BIOS_PARAMETER_BLOCK_heads_get
  138.     if _newclass:
  139.         heads = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_heads_get, _fstools.BIOS_PARAMETER_BLOCK_heads_set)
  140.     
  141.     __swig_setmethods__['hidden_sectors'] = _fstools.BIOS_PARAMETER_BLOCK_hidden_sectors_set
  142.     __swig_getmethods__['hidden_sectors'] = _fstools.BIOS_PARAMETER_BLOCK_hidden_sectors_get
  143.     if _newclass:
  144.         hidden_sectors = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_hidden_sectors_get, _fstools.BIOS_PARAMETER_BLOCK_hidden_sectors_set)
  145.     
  146.     __swig_setmethods__['large_sectors'] = _fstools.BIOS_PARAMETER_BLOCK_large_sectors_set
  147.     __swig_getmethods__['large_sectors'] = _fstools.BIOS_PARAMETER_BLOCK_large_sectors_get
  148.     if _newclass:
  149.         large_sectors = _swig_property(_fstools.BIOS_PARAMETER_BLOCK_large_sectors_get, _fstools.BIOS_PARAMETER_BLOCK_large_sectors_set)
  150.     
  151.     
  152.     def __init__(self, *args):
  153.         this = _fstools.new_BIOS_PARAMETER_BLOCK(*args)
  154.         
  155.         try:
  156.             self.this.append(this)
  157.         except:
  158.             self.this = this
  159.  
  160.  
  161.     __swig_destroy__ = _fstools.delete_BIOS_PARAMETER_BLOCK
  162.     
  163.     __del__ = lambda self: pass
  164.  
  165. BIOS_PARAMETER_BLOCK_swigregister = _fstools.BIOS_PARAMETER_BLOCK_swigregister
  166. BIOS_PARAMETER_BLOCK_swigregister(BIOS_PARAMETER_BLOCK)
  167.  
  168. class NTFS_BOOT_SECTOR(_object):
  169.     __swig_setmethods__ = { }
  170.     
  171.     __setattr__ = lambda self, name, value: _swig_setattr(self, NTFS_BOOT_SECTOR, name, value)
  172.     __swig_getmethods__ = { }
  173.     
  174.     __getattr__ = lambda self, name: _swig_getattr(self, NTFS_BOOT_SECTOR, name)
  175.     __repr__ = _swig_repr
  176.     __swig_setmethods__['jump'] = _fstools.NTFS_BOOT_SECTOR_jump_set
  177.     __swig_getmethods__['jump'] = _fstools.NTFS_BOOT_SECTOR_jump_get
  178.     if _newclass:
  179.         jump = _swig_property(_fstools.NTFS_BOOT_SECTOR_jump_get, _fstools.NTFS_BOOT_SECTOR_jump_set)
  180.     
  181.     __swig_setmethods__['oem_id'] = _fstools.NTFS_BOOT_SECTOR_oem_id_set
  182.     __swig_getmethods__['oem_id'] = _fstools.NTFS_BOOT_SECTOR_oem_id_get
  183.     if _newclass:
  184.         oem_id = _swig_property(_fstools.NTFS_BOOT_SECTOR_oem_id_get, _fstools.NTFS_BOOT_SECTOR_oem_id_set)
  185.     
  186.     __swig_setmethods__['bpb'] = _fstools.NTFS_BOOT_SECTOR_bpb_set
  187.     __swig_getmethods__['bpb'] = _fstools.NTFS_BOOT_SECTOR_bpb_get
  188.     if _newclass:
  189.         bpb = _swig_property(_fstools.NTFS_BOOT_SECTOR_bpb_get, _fstools.NTFS_BOOT_SECTOR_bpb_set)
  190.     
  191.     __swig_setmethods__['unused'] = _fstools.NTFS_BOOT_SECTOR_unused_set
  192.     __swig_getmethods__['unused'] = _fstools.NTFS_BOOT_SECTOR_unused_get
  193.     if _newclass:
  194.         unused = _swig_property(_fstools.NTFS_BOOT_SECTOR_unused_get, _fstools.NTFS_BOOT_SECTOR_unused_set)
  195.     
  196.     __swig_setmethods__['number_of_sectors'] = _fstools.NTFS_BOOT_SECTOR_number_of_sectors_set
  197.     __swig_getmethods__['number_of_sectors'] = _fstools.NTFS_BOOT_SECTOR_number_of_sectors_get
  198.     if _newclass:
  199.         number_of_sectors = _swig_property(_fstools.NTFS_BOOT_SECTOR_number_of_sectors_get, _fstools.NTFS_BOOT_SECTOR_number_of_sectors_set)
  200.     
  201.     __swig_setmethods__['mft_lcn'] = _fstools.NTFS_BOOT_SECTOR_mft_lcn_set
  202.     __swig_getmethods__['mft_lcn'] = _fstools.NTFS_BOOT_SECTOR_mft_lcn_get
  203.     if _newclass:
  204.         mft_lcn = _swig_property(_fstools.NTFS_BOOT_SECTOR_mft_lcn_get, _fstools.NTFS_BOOT_SECTOR_mft_lcn_set)
  205.     
  206.     __swig_setmethods__['mftmirr_lcn'] = _fstools.NTFS_BOOT_SECTOR_mftmirr_lcn_set
  207.     __swig_getmethods__['mftmirr_lcn'] = _fstools.NTFS_BOOT_SECTOR_mftmirr_lcn_get
  208.     if _newclass:
  209.         mftmirr_lcn = _swig_property(_fstools.NTFS_BOOT_SECTOR_mftmirr_lcn_get, _fstools.NTFS_BOOT_SECTOR_mftmirr_lcn_set)
  210.     
  211.     __swig_setmethods__['clusters_per_mft_record'] = _fstools.NTFS_BOOT_SECTOR_clusters_per_mft_record_set
  212.     __swig_getmethods__['clusters_per_mft_record'] = _fstools.NTFS_BOOT_SECTOR_clusters_per_mft_record_get
  213.     if _newclass:
  214.         clusters_per_mft_record = _swig_property(_fstools.NTFS_BOOT_SECTOR_clusters_per_mft_record_get, _fstools.NTFS_BOOT_SECTOR_clusters_per_mft_record_set)
  215.     
  216.     __swig_setmethods__['reserved0'] = _fstools.NTFS_BOOT_SECTOR_reserved0_set
  217.     __swig_getmethods__['reserved0'] = _fstools.NTFS_BOOT_SECTOR_reserved0_get
  218.     if _newclass:
  219.         reserved0 = _swig_property(_fstools.NTFS_BOOT_SECTOR_reserved0_get, _fstools.NTFS_BOOT_SECTOR_reserved0_set)
  220.     
  221.     __swig_setmethods__['clusters_per_index_record'] = _fstools.NTFS_BOOT_SECTOR_clusters_per_index_record_set
  222.     __swig_getmethods__['clusters_per_index_record'] = _fstools.NTFS_BOOT_SECTOR_clusters_per_index_record_get
  223.     if _newclass:
  224.         clusters_per_index_record = _swig_property(_fstools.NTFS_BOOT_SECTOR_clusters_per_index_record_get, _fstools.NTFS_BOOT_SECTOR_clusters_per_index_record_set)
  225.     
  226.     __swig_setmethods__['reserved1'] = _fstools.NTFS_BOOT_SECTOR_reserved1_set
  227.     __swig_getmethods__['reserved1'] = _fstools.NTFS_BOOT_SECTOR_reserved1_get
  228.     if _newclass:
  229.         reserved1 = _swig_property(_fstools.NTFS_BOOT_SECTOR_reserved1_get, _fstools.NTFS_BOOT_SECTOR_reserved1_set)
  230.     
  231.     __swig_setmethods__['volume_serial_number'] = _fstools.NTFS_BOOT_SECTOR_volume_serial_number_set
  232.     __swig_getmethods__['volume_serial_number'] = _fstools.NTFS_BOOT_SECTOR_volume_serial_number_get
  233.     if _newclass:
  234.         volume_serial_number = _swig_property(_fstools.NTFS_BOOT_SECTOR_volume_serial_number_get, _fstools.NTFS_BOOT_SECTOR_volume_serial_number_set)
  235.     
  236.     __swig_setmethods__['checksum'] = _fstools.NTFS_BOOT_SECTOR_checksum_set
  237.     __swig_getmethods__['checksum'] = _fstools.NTFS_BOOT_SECTOR_checksum_get
  238.     if _newclass:
  239.         checksum = _swig_property(_fstools.NTFS_BOOT_SECTOR_checksum_get, _fstools.NTFS_BOOT_SECTOR_checksum_set)
  240.     
  241.     __swig_setmethods__['bootstrap'] = _fstools.NTFS_BOOT_SECTOR_bootstrap_set
  242.     __swig_getmethods__['bootstrap'] = _fstools.NTFS_BOOT_SECTOR_bootstrap_get
  243.     if _newclass:
  244.         bootstrap = _swig_property(_fstools.NTFS_BOOT_SECTOR_bootstrap_get, _fstools.NTFS_BOOT_SECTOR_bootstrap_set)
  245.     
  246.     __swig_setmethods__['end_of_sector_marker'] = _fstools.NTFS_BOOT_SECTOR_end_of_sector_marker_set
  247.     __swig_getmethods__['end_of_sector_marker'] = _fstools.NTFS_BOOT_SECTOR_end_of_sector_marker_get
  248.     if _newclass:
  249.         end_of_sector_marker = _swig_property(_fstools.NTFS_BOOT_SECTOR_end_of_sector_marker_get, _fstools.NTFS_BOOT_SECTOR_end_of_sector_marker_set)
  250.     
  251.     
  252.     def __init__(self, *args):
  253.         this = _fstools.new_NTFS_BOOT_SECTOR(*args)
  254.         
  255.         try:
  256.             self.this.append(this)
  257.         except:
  258.             self.this = this
  259.  
  260.  
  261.     __swig_destroy__ = _fstools.delete_NTFS_BOOT_SECTOR
  262.     
  263.     __del__ = lambda self: pass
  264.  
  265. NTFS_BOOT_SECTOR_swigregister = _fstools.NTFS_BOOT_SECTOR_swigregister
  266. NTFS_BOOT_SECTOR_swigregister(NTFS_BOOT_SECTOR)
  267.  
  268. class SPartitionEntry(_object):
  269.     __swig_setmethods__ = { }
  270.     
  271.     __setattr__ = lambda self, name, value: _swig_setattr(self, SPartitionEntry, name, value)
  272.     __swig_getmethods__ = { }
  273.     
  274.     __getattr__ = lambda self, name: _swig_getattr(self, SPartitionEntry, name)
  275.     __repr__ = _swig_repr
  276.     __swig_setmethods__['boot_state'] = _fstools.SPartitionEntry_boot_state_set
  277.     __swig_getmethods__['boot_state'] = _fstools.SPartitionEntry_boot_state_get
  278.     if _newclass:
  279.         boot_state = _swig_property(_fstools.SPartitionEntry_boot_state_get, _fstools.SPartitionEntry_boot_state_set)
  280.     
  281.     __swig_setmethods__['begin_head'] = _fstools.SPartitionEntry_begin_head_set
  282.     __swig_getmethods__['begin_head'] = _fstools.SPartitionEntry_begin_head_get
  283.     if _newclass:
  284.         begin_head = _swig_property(_fstools.SPartitionEntry_begin_head_get, _fstools.SPartitionEntry_begin_head_set)
  285.     
  286.     __swig_setmethods__['begin_sector'] = _fstools.SPartitionEntry_begin_sector_set
  287.     __swig_getmethods__['begin_sector'] = _fstools.SPartitionEntry_begin_sector_get
  288.     if _newclass:
  289.         begin_sector = _swig_property(_fstools.SPartitionEntry_begin_sector_get, _fstools.SPartitionEntry_begin_sector_set)
  290.     
  291.     __swig_setmethods__['begin_cylinder'] = _fstools.SPartitionEntry_begin_cylinder_set
  292.     __swig_getmethods__['begin_cylinder'] = _fstools.SPartitionEntry_begin_cylinder_get
  293.     if _newclass:
  294.         begin_cylinder = _swig_property(_fstools.SPartitionEntry_begin_cylinder_get, _fstools.SPartitionEntry_begin_cylinder_set)
  295.     
  296.     __swig_setmethods__['partition_type'] = _fstools.SPartitionEntry_partition_type_set
  297.     __swig_getmethods__['partition_type'] = _fstools.SPartitionEntry_partition_type_get
  298.     if _newclass:
  299.         partition_type = _swig_property(_fstools.SPartitionEntry_partition_type_get, _fstools.SPartitionEntry_partition_type_set)
  300.     
  301.     __swig_setmethods__['end_head'] = _fstools.SPartitionEntry_end_head_set
  302.     __swig_getmethods__['end_head'] = _fstools.SPartitionEntry_end_head_get
  303.     if _newclass:
  304.         end_head = _swig_property(_fstools.SPartitionEntry_end_head_get, _fstools.SPartitionEntry_end_head_set)
  305.     
  306.     __swig_setmethods__['end_sector'] = _fstools.SPartitionEntry_end_sector_set
  307.     __swig_getmethods__['end_sector'] = _fstools.SPartitionEntry_end_sector_get
  308.     if _newclass:
  309.         end_sector = _swig_property(_fstools.SPartitionEntry_end_sector_get, _fstools.SPartitionEntry_end_sector_set)
  310.     
  311.     __swig_setmethods__['end_cylinder'] = _fstools.SPartitionEntry_end_cylinder_set
  312.     __swig_getmethods__['end_cylinder'] = _fstools.SPartitionEntry_end_cylinder_get
  313.     if _newclass:
  314.         end_cylinder = _swig_property(_fstools.SPartitionEntry_end_cylinder_get, _fstools.SPartitionEntry_end_cylinder_set)
  315.     
  316.     __swig_setmethods__['starting_sector'] = _fstools.SPartitionEntry_starting_sector_set
  317.     __swig_getmethods__['starting_sector'] = _fstools.SPartitionEntry_starting_sector_get
  318.     if _newclass:
  319.         starting_sector = _swig_property(_fstools.SPartitionEntry_starting_sector_get, _fstools.SPartitionEntry_starting_sector_set)
  320.     
  321.     __swig_setmethods__['sectors_count'] = _fstools.SPartitionEntry_sectors_count_set
  322.     __swig_getmethods__['sectors_count'] = _fstools.SPartitionEntry_sectors_count_get
  323.     if _newclass:
  324.         sectors_count = _swig_property(_fstools.SPartitionEntry_sectors_count_get, _fstools.SPartitionEntry_sectors_count_set)
  325.     
  326.     
  327.     def __init__(self, *args):
  328.         this = _fstools.new_SPartitionEntry(*args)
  329.         
  330.         try:
  331.             self.this.append(this)
  332.         except:
  333.             self.this = this
  334.  
  335.  
  336.     __swig_destroy__ = _fstools.delete_SPartitionEntry
  337.     
  338.     __del__ = lambda self: pass
  339.  
  340. SPartitionEntry_swigregister = _fstools.SPartitionEntry_swigregister
  341. SPartitionEntry_swigregister(SPartitionEntry)
  342.  
  343. class SMasterBootRecord(_object):
  344.     __swig_setmethods__ = { }
  345.     
  346.     __setattr__ = lambda self, name, value: _swig_setattr(self, SMasterBootRecord, name, value)
  347.     __swig_getmethods__ = { }
  348.     
  349.     __getattr__ = lambda self, name: _swig_getattr(self, SMasterBootRecord, name)
  350.     __repr__ = _swig_repr
  351.     __swig_setmethods__['boot_code'] = _fstools.SMasterBootRecord_boot_code_set
  352.     __swig_getmethods__['boot_code'] = _fstools.SMasterBootRecord_boot_code_get
  353.     if _newclass:
  354.         boot_code = _swig_property(_fstools.SMasterBootRecord_boot_code_get, _fstools.SMasterBootRecord_boot_code_set)
  355.     
  356.     __swig_setmethods__['entries'] = _fstools.SMasterBootRecord_entries_set
  357.     __swig_getmethods__['entries'] = _fstools.SMasterBootRecord_entries_get
  358.     if _newclass:
  359.         entries = _swig_property(_fstools.SMasterBootRecord_entries_get, _fstools.SMasterBootRecord_entries_set)
  360.     
  361.     __swig_setmethods__['signature'] = _fstools.SMasterBootRecord_signature_set
  362.     __swig_getmethods__['signature'] = _fstools.SMasterBootRecord_signature_get
  363.     if _newclass:
  364.         signature = _swig_property(_fstools.SMasterBootRecord_signature_get, _fstools.SMasterBootRecord_signature_set)
  365.     
  366.     
  367.     def __init__(self, *args):
  368.         this = _fstools.new_SMasterBootRecord(*args)
  369.         
  370.         try:
  371.             self.this.append(this)
  372.         except:
  373.             self.this = this
  374.  
  375.  
  376.     __swig_destroy__ = _fstools.delete_SMasterBootRecord
  377.     
  378.     __del__ = lambda self: pass
  379.  
  380. SMasterBootRecord_swigregister = _fstools.SMasterBootRecord_swigregister
  381. SMasterBootRecord_swigregister(SMasterBootRecord)
  382.  
  383. class SCommonBootSector(_object):
  384.     __swig_setmethods__ = { }
  385.     
  386.     __setattr__ = lambda self, name, value: _swig_setattr(self, SCommonBootSector, name, value)
  387.     __swig_getmethods__ = { }
  388.     
  389.     __getattr__ = lambda self, name: _swig_getattr(self, SCommonBootSector, name)
  390.     __repr__ = _swig_repr
  391.     __swig_setmethods__['jump_code'] = _fstools.SCommonBootSector_jump_code_set
  392.     __swig_getmethods__['jump_code'] = _fstools.SCommonBootSector_jump_code_get
  393.     if _newclass:
  394.         jump_code = _swig_property(_fstools.SCommonBootSector_jump_code_get, _fstools.SCommonBootSector_jump_code_set)
  395.     
  396.     __swig_setmethods__['oem_id'] = _fstools.SCommonBootSector_oem_id_set
  397.     __swig_getmethods__['oem_id'] = _fstools.SCommonBootSector_oem_id_get
  398.     if _newclass:
  399.         oem_id = _swig_property(_fstools.SCommonBootSector_oem_id_get, _fstools.SCommonBootSector_oem_id_set)
  400.     
  401.     __swig_setmethods__['bpb'] = _fstools.SCommonBootSector_bpb_set
  402.     __swig_getmethods__['bpb'] = _fstools.SCommonBootSector_bpb_get
  403.     if _newclass:
  404.         bpb = _swig_property(_fstools.SCommonBootSector_bpb_get, _fstools.SCommonBootSector_bpb_set)
  405.     
  406.     __swig_setmethods__['boot_code'] = _fstools.SCommonBootSector_boot_code_set
  407.     __swig_getmethods__['boot_code'] = _fstools.SCommonBootSector_boot_code_get
  408.     if _newclass:
  409.         boot_code = _swig_property(_fstools.SCommonBootSector_boot_code_get, _fstools.SCommonBootSector_boot_code_set)
  410.     
  411.     __swig_setmethods__['signature'] = _fstools.SCommonBootSector_signature_set
  412.     __swig_getmethods__['signature'] = _fstools.SCommonBootSector_signature_get
  413.     if _newclass:
  414.         signature = _swig_property(_fstools.SCommonBootSector_signature_get, _fstools.SCommonBootSector_signature_set)
  415.     
  416.     
  417.     def __init__(self, *args):
  418.         this = _fstools.new_SCommonBootSector(*args)
  419.         
  420.         try:
  421.             self.this.append(this)
  422.         except:
  423.             self.this = this
  424.  
  425.  
  426.     __swig_destroy__ = _fstools.delete_SCommonBootSector
  427.     
  428.     __del__ = lambda self: pass
  429.  
  430. SCommonBootSector_swigregister = _fstools.SCommonBootSector_swigregister
  431. SCommonBootSector_swigregister(SCommonBootSector)
  432.  
  433. class SFAT16EBPB(_object):
  434.     __swig_setmethods__ = { }
  435.     
  436.     __setattr__ = lambda self, name, value: _swig_setattr(self, SFAT16EBPB, name, value)
  437.     __swig_getmethods__ = { }
  438.     
  439.     __getattr__ = lambda self, name: _swig_getattr(self, SFAT16EBPB, name)
  440.     __repr__ = _swig_repr
  441.     __swig_setmethods__['drive_number'] = _fstools.SFAT16EBPB_drive_number_set
  442.     __swig_getmethods__['drive_number'] = _fstools.SFAT16EBPB_drive_number_get
  443.     if _newclass:
  444.         drive_number = _swig_property(_fstools.SFAT16EBPB_drive_number_get, _fstools.SFAT16EBPB_drive_number_set)
  445.     
  446.     __swig_setmethods__['reserved_1'] = _fstools.SFAT16EBPB_reserved_1_set
  447.     __swig_getmethods__['reserved_1'] = _fstools.SFAT16EBPB_reserved_1_get
  448.     if _newclass:
  449.         reserved_1 = _swig_property(_fstools.SFAT16EBPB_reserved_1_get, _fstools.SFAT16EBPB_reserved_1_set)
  450.     
  451.     __swig_setmethods__['boot_signature'] = _fstools.SFAT16EBPB_boot_signature_set
  452.     __swig_getmethods__['boot_signature'] = _fstools.SFAT16EBPB_boot_signature_get
  453.     if _newclass:
  454.         boot_signature = _swig_property(_fstools.SFAT16EBPB_boot_signature_get, _fstools.SFAT16EBPB_boot_signature_set)
  455.     
  456.     __swig_setmethods__['volume_id'] = _fstools.SFAT16EBPB_volume_id_set
  457.     __swig_getmethods__['volume_id'] = _fstools.SFAT16EBPB_volume_id_get
  458.     if _newclass:
  459.         volume_id = _swig_property(_fstools.SFAT16EBPB_volume_id_get, _fstools.SFAT16EBPB_volume_id_set)
  460.     
  461.     __swig_setmethods__['volume_label'] = _fstools.SFAT16EBPB_volume_label_set
  462.     __swig_getmethods__['volume_label'] = _fstools.SFAT16EBPB_volume_label_get
  463.     if _newclass:
  464.         volume_label = _swig_property(_fstools.SFAT16EBPB_volume_label_get, _fstools.SFAT16EBPB_volume_label_set)
  465.     
  466.     __swig_setmethods__['file_system_type'] = _fstools.SFAT16EBPB_file_system_type_set
  467.     __swig_getmethods__['file_system_type'] = _fstools.SFAT16EBPB_file_system_type_get
  468.     if _newclass:
  469.         file_system_type = _swig_property(_fstools.SFAT16EBPB_file_system_type_get, _fstools.SFAT16EBPB_file_system_type_set)
  470.     
  471.     
  472.     def __init__(self, *args):
  473.         this = _fstools.new_SFAT16EBPB(*args)
  474.         
  475.         try:
  476.             self.this.append(this)
  477.         except:
  478.             self.this = this
  479.  
  480.  
  481.     __swig_destroy__ = _fstools.delete_SFAT16EBPB
  482.     
  483.     __del__ = lambda self: pass
  484.  
  485. SFAT16EBPB_swigregister = _fstools.SFAT16EBPB_swigregister
  486. SFAT16EBPB_swigregister(SFAT16EBPB)
  487.  
  488. class SFAT32EBPB(_object):
  489.     __swig_setmethods__ = { }
  490.     
  491.     __setattr__ = lambda self, name, value: _swig_setattr(self, SFAT32EBPB, name, value)
  492.     __swig_getmethods__ = { }
  493.     
  494.     __getattr__ = lambda self, name: _swig_getattr(self, SFAT32EBPB, name)
  495.     __repr__ = _swig_repr
  496.     __swig_setmethods__['fat_size_in_sectors'] = _fstools.SFAT32EBPB_fat_size_in_sectors_set
  497.     __swig_getmethods__['fat_size_in_sectors'] = _fstools.SFAT32EBPB_fat_size_in_sectors_get
  498.     if _newclass:
  499.         fat_size_in_sectors = _swig_property(_fstools.SFAT32EBPB_fat_size_in_sectors_get, _fstools.SFAT32EBPB_fat_size_in_sectors_set)
  500.     
  501.     __swig_setmethods__['extended_flags'] = _fstools.SFAT32EBPB_extended_flags_set
  502.     __swig_getmethods__['extended_flags'] = _fstools.SFAT32EBPB_extended_flags_get
  503.     if _newclass:
  504.         extended_flags = _swig_property(_fstools.SFAT32EBPB_extended_flags_get, _fstools.SFAT32EBPB_extended_flags_set)
  505.     
  506.     __swig_setmethods__['version'] = _fstools.SFAT32EBPB_version_set
  507.     __swig_getmethods__['version'] = _fstools.SFAT32EBPB_version_get
  508.     if _newclass:
  509.         version = _swig_property(_fstools.SFAT32EBPB_version_get, _fstools.SFAT32EBPB_version_set)
  510.     
  511.     __swig_setmethods__['root_cluster'] = _fstools.SFAT32EBPB_root_cluster_set
  512.     __swig_getmethods__['root_cluster'] = _fstools.SFAT32EBPB_root_cluster_get
  513.     if _newclass:
  514.         root_cluster = _swig_property(_fstools.SFAT32EBPB_root_cluster_get, _fstools.SFAT32EBPB_root_cluster_set)
  515.     
  516.     __swig_setmethods__['fs_info_sector'] = _fstools.SFAT32EBPB_fs_info_sector_set
  517.     __swig_getmethods__['fs_info_sector'] = _fstools.SFAT32EBPB_fs_info_sector_get
  518.     if _newclass:
  519.         fs_info_sector = _swig_property(_fstools.SFAT32EBPB_fs_info_sector_get, _fstools.SFAT32EBPB_fs_info_sector_set)
  520.     
  521.     __swig_setmethods__['boot_record_copy'] = _fstools.SFAT32EBPB_boot_record_copy_set
  522.     __swig_getmethods__['boot_record_copy'] = _fstools.SFAT32EBPB_boot_record_copy_get
  523.     if _newclass:
  524.         boot_record_copy = _swig_property(_fstools.SFAT32EBPB_boot_record_copy_get, _fstools.SFAT32EBPB_boot_record_copy_set)
  525.     
  526.     __swig_setmethods__['reserved0'] = _fstools.SFAT32EBPB_reserved0_set
  527.     __swig_getmethods__['reserved0'] = _fstools.SFAT32EBPB_reserved0_get
  528.     if _newclass:
  529.         reserved0 = _swig_property(_fstools.SFAT32EBPB_reserved0_get, _fstools.SFAT32EBPB_reserved0_set)
  530.     
  531.     __swig_setmethods__['drive_number'] = _fstools.SFAT32EBPB_drive_number_set
  532.     __swig_getmethods__['drive_number'] = _fstools.SFAT32EBPB_drive_number_get
  533.     if _newclass:
  534.         drive_number = _swig_property(_fstools.SFAT32EBPB_drive_number_get, _fstools.SFAT32EBPB_drive_number_set)
  535.     
  536.     __swig_setmethods__['reserved1'] = _fstools.SFAT32EBPB_reserved1_set
  537.     __swig_getmethods__['reserved1'] = _fstools.SFAT32EBPB_reserved1_get
  538.     if _newclass:
  539.         reserved1 = _swig_property(_fstools.SFAT32EBPB_reserved1_get, _fstools.SFAT32EBPB_reserved1_set)
  540.     
  541.     __swig_setmethods__['boot_signature'] = _fstools.SFAT32EBPB_boot_signature_set
  542.     __swig_getmethods__['boot_signature'] = _fstools.SFAT32EBPB_boot_signature_get
  543.     if _newclass:
  544.         boot_signature = _swig_property(_fstools.SFAT32EBPB_boot_signature_get, _fstools.SFAT32EBPB_boot_signature_set)
  545.     
  546.     __swig_setmethods__['volume_id'] = _fstools.SFAT32EBPB_volume_id_set
  547.     __swig_getmethods__['volume_id'] = _fstools.SFAT32EBPB_volume_id_get
  548.     if _newclass:
  549.         volume_id = _swig_property(_fstools.SFAT32EBPB_volume_id_get, _fstools.SFAT32EBPB_volume_id_set)
  550.     
  551.     __swig_setmethods__['volume_label'] = _fstools.SFAT32EBPB_volume_label_set
  552.     __swig_getmethods__['volume_label'] = _fstools.SFAT32EBPB_volume_label_get
  553.     if _newclass:
  554.         volume_label = _swig_property(_fstools.SFAT32EBPB_volume_label_get, _fstools.SFAT32EBPB_volume_label_set)
  555.     
  556.     __swig_setmethods__['file_system_type'] = _fstools.SFAT32EBPB_file_system_type_set
  557.     __swig_getmethods__['file_system_type'] = _fstools.SFAT32EBPB_file_system_type_get
  558.     if _newclass:
  559.         file_system_type = _swig_property(_fstools.SFAT32EBPB_file_system_type_get, _fstools.SFAT32EBPB_file_system_type_set)
  560.     
  561.     
  562.     def __init__(self, *args):
  563.         this = _fstools.new_SFAT32EBPB(*args)
  564.         
  565.         try:
  566.             self.this.append(this)
  567.         except:
  568.             self.this = this
  569.  
  570.  
  571.     __swig_destroy__ = _fstools.delete_SFAT32EBPB
  572.     
  573.     __del__ = lambda self: pass
  574.  
  575. SFAT32EBPB_swigregister = _fstools.SFAT32EBPB_swigregister
  576. SFAT32EBPB_swigregister(SFAT32EBPB)
  577.  
  578. class SFAT16BootSector(_object):
  579.     __swig_setmethods__ = { }
  580.     
  581.     __setattr__ = lambda self, name, value: _swig_setattr(self, SFAT16BootSector, name, value)
  582.     __swig_getmethods__ = { }
  583.     
  584.     __getattr__ = lambda self, name: _swig_getattr(self, SFAT16BootSector, name)
  585.     __repr__ = _swig_repr
  586.     __swig_setmethods__['jump_code'] = _fstools.SFAT16BootSector_jump_code_set
  587.     __swig_getmethods__['jump_code'] = _fstools.SFAT16BootSector_jump_code_get
  588.     if _newclass:
  589.         jump_code = _swig_property(_fstools.SFAT16BootSector_jump_code_get, _fstools.SFAT16BootSector_jump_code_set)
  590.     
  591.     __swig_setmethods__['oem_id'] = _fstools.SFAT16BootSector_oem_id_set
  592.     __swig_getmethods__['oem_id'] = _fstools.SFAT16BootSector_oem_id_get
  593.     if _newclass:
  594.         oem_id = _swig_property(_fstools.SFAT16BootSector_oem_id_get, _fstools.SFAT16BootSector_oem_id_set)
  595.     
  596.     __swig_setmethods__['bpb'] = _fstools.SFAT16BootSector_bpb_set
  597.     __swig_getmethods__['bpb'] = _fstools.SFAT16BootSector_bpb_get
  598.     if _newclass:
  599.         bpb = _swig_property(_fstools.SFAT16BootSector_bpb_get, _fstools.SFAT16BootSector_bpb_set)
  600.     
  601.     __swig_setmethods__['ebpb'] = _fstools.SFAT16BootSector_ebpb_set
  602.     __swig_getmethods__['ebpb'] = _fstools.SFAT16BootSector_ebpb_get
  603.     if _newclass:
  604.         ebpb = _swig_property(_fstools.SFAT16BootSector_ebpb_get, _fstools.SFAT16BootSector_ebpb_set)
  605.     
  606.     __swig_setmethods__['boot_code'] = _fstools.SFAT16BootSector_boot_code_set
  607.     __swig_getmethods__['boot_code'] = _fstools.SFAT16BootSector_boot_code_get
  608.     if _newclass:
  609.         boot_code = _swig_property(_fstools.SFAT16BootSector_boot_code_get, _fstools.SFAT16BootSector_boot_code_set)
  610.     
  611.     __swig_setmethods__['signature'] = _fstools.SFAT16BootSector_signature_set
  612.     __swig_getmethods__['signature'] = _fstools.SFAT16BootSector_signature_get
  613.     if _newclass:
  614.         signature = _swig_property(_fstools.SFAT16BootSector_signature_get, _fstools.SFAT16BootSector_signature_set)
  615.     
  616.     
  617.     def __init__(self, *args):
  618.         this = _fstools.new_SFAT16BootSector(*args)
  619.         
  620.         try:
  621.             self.this.append(this)
  622.         except:
  623.             self.this = this
  624.  
  625.  
  626.     __swig_destroy__ = _fstools.delete_SFAT16BootSector
  627.     
  628.     __del__ = lambda self: pass
  629.  
  630. SFAT16BootSector_swigregister = _fstools.SFAT16BootSector_swigregister
  631. SFAT16BootSector_swigregister(SFAT16BootSector)
  632.  
  633. class SFAT32BootSector(_object):
  634.     __swig_setmethods__ = { }
  635.     
  636.     __setattr__ = lambda self, name, value: _swig_setattr(self, SFAT32BootSector, name, value)
  637.     __swig_getmethods__ = { }
  638.     
  639.     __getattr__ = lambda self, name: _swig_getattr(self, SFAT32BootSector, name)
  640.     __repr__ = _swig_repr
  641.     __swig_setmethods__['jump_code'] = _fstools.SFAT32BootSector_jump_code_set
  642.     __swig_getmethods__['jump_code'] = _fstools.SFAT32BootSector_jump_code_get
  643.     if _newclass:
  644.         jump_code = _swig_property(_fstools.SFAT32BootSector_jump_code_get, _fstools.SFAT32BootSector_jump_code_set)
  645.     
  646.     __swig_setmethods__['oem_id'] = _fstools.SFAT32BootSector_oem_id_set
  647.     __swig_getmethods__['oem_id'] = _fstools.SFAT32BootSector_oem_id_get
  648.     if _newclass:
  649.         oem_id = _swig_property(_fstools.SFAT32BootSector_oem_id_get, _fstools.SFAT32BootSector_oem_id_set)
  650.     
  651.     __swig_setmethods__['bpb'] = _fstools.SFAT32BootSector_bpb_set
  652.     __swig_getmethods__['bpb'] = _fstools.SFAT32BootSector_bpb_get
  653.     if _newclass:
  654.         bpb = _swig_property(_fstools.SFAT32BootSector_bpb_get, _fstools.SFAT32BootSector_bpb_set)
  655.     
  656.     __swig_setmethods__['ebpb'] = _fstools.SFAT32BootSector_ebpb_set
  657.     __swig_getmethods__['ebpb'] = _fstools.SFAT32BootSector_ebpb_get
  658.     if _newclass:
  659.         ebpb = _swig_property(_fstools.SFAT32BootSector_ebpb_get, _fstools.SFAT32BootSector_ebpb_set)
  660.     
  661.     __swig_setmethods__['boot_code'] = _fstools.SFAT32BootSector_boot_code_set
  662.     __swig_getmethods__['boot_code'] = _fstools.SFAT32BootSector_boot_code_get
  663.     if _newclass:
  664.         boot_code = _swig_property(_fstools.SFAT32BootSector_boot_code_get, _fstools.SFAT32BootSector_boot_code_set)
  665.     
  666.     __swig_setmethods__['signature'] = _fstools.SFAT32BootSector_signature_set
  667.     __swig_getmethods__['signature'] = _fstools.SFAT32BootSector_signature_get
  668.     if _newclass:
  669.         signature = _swig_property(_fstools.SFAT32BootSector_signature_get, _fstools.SFAT32BootSector_signature_set)
  670.     
  671.     
  672.     def __init__(self, *args):
  673.         this = _fstools.new_SFAT32BootSector(*args)
  674.         
  675.         try:
  676.             self.this.append(this)
  677.         except:
  678.             self.this = this
  679.  
  680.  
  681.     __swig_destroy__ = _fstools.delete_SFAT32BootSector
  682.     
  683.     __del__ = lambda self: pass
  684.  
  685. SFAT32BootSector_swigregister = _fstools.SFAT32BootSector_swigregister
  686. SFAT32BootSector_swigregister(SFAT32BootSector)
  687. magicNTFS = _fstools.magicNTFS
  688. NTFS_SB_MAGIC = _fstools.NTFS_SB_MAGIC
  689. magic_NULL = _fstools.magic_NULL
  690. magic_FILE = _fstools.magic_FILE
  691. magic_INDX = _fstools.magic_INDX
  692. magic_HOLE = _fstools.magic_HOLE
  693. magic_RSTR = _fstools.magic_RSTR
  694. magic_RCRD = _fstools.magic_RCRD
  695. magic_CHKD = _fstools.magic_CHKD
  696. magic_BAAD = _fstools.magic_BAAD
  697. magic_empty = _fstools.magic_empty
  698. NTFS_BLOCK_SIZE = _fstools.NTFS_BLOCK_SIZE
  699. NTFS_BLOCK_SIZE_BITS = _fstools.NTFS_BLOCK_SIZE_BITS
  700. FILE_MFT = _fstools.FILE_MFT
  701. FILE_MFTMirr = _fstools.FILE_MFTMirr
  702. FILE_LogFile = _fstools.FILE_LogFile
  703. FILE_Volume = _fstools.FILE_Volume
  704. FILE_AttrDef = _fstools.FILE_AttrDef
  705. FILE_root = _fstools.FILE_root
  706. FILE_Bitmap = _fstools.FILE_Bitmap
  707. FILE_Boot = _fstools.FILE_Boot
  708. FILE_BadClus = _fstools.FILE_BadClus
  709. FILE_Secure = _fstools.FILE_Secure
  710. FILE_UpCase = _fstools.FILE_UpCase
  711. FILE_Extend = _fstools.FILE_Extend
  712. FILE_reserved12 = _fstools.FILE_reserved12
  713. FILE_reserved13 = _fstools.FILE_reserved13
  714. FILE_reserved14 = _fstools.FILE_reserved14
  715. FILE_reserved15 = _fstools.FILE_reserved15
  716. FILE_first_user = _fstools.FILE_first_user
  717. MFT_RECORD_IN_USE = _fstools.MFT_RECORD_IN_USE
  718. MFT_RECORD_IS_DIRECTORY = _fstools.MFT_RECORD_IS_DIRECTORY
  719. MFT_REC_SPACE_FILLER = _fstools.MFT_REC_SPACE_FILLER
  720. AT_UNUSED = _fstools.AT_UNUSED
  721. AT_STANDARD_INFORMATION = _fstools.AT_STANDARD_INFORMATION
  722. AT_ATTRIBUTE_LIST = _fstools.AT_ATTRIBUTE_LIST
  723. AT_FILE_NAME = _fstools.AT_FILE_NAME
  724. AT_OBJECT_ID = _fstools.AT_OBJECT_ID
  725. AT_SECURITY_DESCRIPTOR = _fstools.AT_SECURITY_DESCRIPTOR
  726. AT_VOLUME_NAME = _fstools.AT_VOLUME_NAME
  727. AT_VOLUME_INFORMATION = _fstools.AT_VOLUME_INFORMATION
  728. AT_DATA = _fstools.AT_DATA
  729. AT_INDEX_ROOT = _fstools.AT_INDEX_ROOT
  730. AT_INDEX_ALLOCATION = _fstools.AT_INDEX_ALLOCATION
  731. AT_BITMAP = _fstools.AT_BITMAP
  732. AT_REPARSE_POINT = _fstools.AT_REPARSE_POINT
  733. AT_EA_INFORMATION = _fstools.AT_EA_INFORMATION
  734. AT_EA = _fstools.AT_EA
  735. AT_PROPERTY_SET = _fstools.AT_PROPERTY_SET
  736. AT_LOGGED_UTILITY_STREAM = _fstools.AT_LOGGED_UTILITY_STREAM
  737. AT_FIRST_USER_DEFINED_ATTRIBUTE = _fstools.AT_FIRST_USER_DEFINED_ATTRIBUTE
  738. AT_END = _fstools.AT_END
  739. COLLATION_BINARY = _fstools.COLLATION_BINARY
  740. COLLATION_FILE_NAME = _fstools.COLLATION_FILE_NAME
  741. COLLATION_UNICODE_STRING = _fstools.COLLATION_UNICODE_STRING
  742. COLLATION_NTOFS_ULONG = _fstools.COLLATION_NTOFS_ULONG
  743. COLLATION_NTOFS_SID = _fstools.COLLATION_NTOFS_SID
  744. COLLATION_NTOFS_SECURITY_HASH = _fstools.COLLATION_NTOFS_SECURITY_HASH
  745. COLLATION_NTOFS_ULONGS = _fstools.COLLATION_NTOFS_ULONGS
  746. ATTR_DEF_INDEXABLE = _fstools.ATTR_DEF_INDEXABLE
  747. ATTR_DEF_MULTIPLE = _fstools.ATTR_DEF_MULTIPLE
  748. ATTR_DEF_NOT_ZERO = _fstools.ATTR_DEF_NOT_ZERO
  749. ATTR_DEF_INDEXED_UNIQUE = _fstools.ATTR_DEF_INDEXED_UNIQUE
  750. ATTR_DEF_NAMED_UNIQUE = _fstools.ATTR_DEF_NAMED_UNIQUE
  751. ATTR_DEF_RESIDENT = _fstools.ATTR_DEF_RESIDENT
  752. ATTR_DEF_ALWAYS_LOG = _fstools.ATTR_DEF_ALWAYS_LOG
  753. ATTR_IS_COMPRESSED = _fstools.ATTR_IS_COMPRESSED
  754. ATTR_COMPRESSION_MASK = _fstools.ATTR_COMPRESSION_MASK
  755. ATTR_IS_ENCRYPTED = _fstools.ATTR_IS_ENCRYPTED
  756. ATTR_IS_SPARSE = _fstools.ATTR_IS_SPARSE
  757. RESIDENT_ATTR_IS_INDEXED = _fstools.RESIDENT_ATTR_IS_INDEXED
  758. FILE_ATTR_READONLY = _fstools.FILE_ATTR_READONLY
  759. FILE_ATTR_HIDDEN = _fstools.FILE_ATTR_HIDDEN
  760. FILE_ATTR_SYSTEM = _fstools.FILE_ATTR_SYSTEM
  761. FILE_ATTR_DIRECTORY = _fstools.FILE_ATTR_DIRECTORY
  762. FILE_ATTR_ARCHIVE = _fstools.FILE_ATTR_ARCHIVE
  763. FILE_ATTR_DEVICE = _fstools.FILE_ATTR_DEVICE
  764. FILE_ATTR_NORMAL = _fstools.FILE_ATTR_NORMAL
  765. FILE_ATTR_TEMPORARY = _fstools.FILE_ATTR_TEMPORARY
  766. FILE_ATTR_SPARSE_FILE = _fstools.FILE_ATTR_SPARSE_FILE
  767. FILE_ATTR_REPARSE_POINT = _fstools.FILE_ATTR_REPARSE_POINT
  768. FILE_ATTR_COMPRESSED = _fstools.FILE_ATTR_COMPRESSED
  769. FILE_ATTR_OFFLINE = _fstools.FILE_ATTR_OFFLINE
  770. FILE_ATTR_NOT_CONTENT_INDEXED = _fstools.FILE_ATTR_NOT_CONTENT_INDEXED
  771. FILE_ATTR_ENCRYPTED = _fstools.FILE_ATTR_ENCRYPTED
  772. FILE_ATTR_VALID_FLAGS = _fstools.FILE_ATTR_VALID_FLAGS
  773. FILE_ATTR_VALID_SET_FLAGS = _fstools.FILE_ATTR_VALID_SET_FLAGS
  774. FILE_ATTR_DUP_FILE_NAME_INDEX_PRESENT = _fstools.FILE_ATTR_DUP_FILE_NAME_INDEX_PRESENT
  775. FILE_ATTR_DUP_VIEW_INDEX_PRESENT = _fstools.FILE_ATTR_DUP_VIEW_INDEX_PRESENT
  776. NTFS_MAX_NAME_LEN = _fstools.NTFS_MAX_NAME_LEN
  777. FILE_NAME_POSIX = _fstools.FILE_NAME_POSIX
  778. FILE_NAME_WIN32 = _fstools.FILE_NAME_WIN32
  779. FILE_NAME_DOS = _fstools.FILE_NAME_DOS
  780. FILE_NAME_WIN32_AND_DOS = _fstools.FILE_NAME_WIN32_AND_DOS
  781. SSECURITY_NULL_RID = _fstools.SSECURITY_NULL_RID
  782. SSECURITY_WORLD_RID = _fstools.SSECURITY_WORLD_RID
  783. SSECURITY_LOCAL_RID = _fstools.SSECURITY_LOCAL_RID
  784. SSECURITY_CREATOR_OWNER_RID = _fstools.SSECURITY_CREATOR_OWNER_RID
  785. SSECURITY_CREATOR_GROUP_RID = _fstools.SSECURITY_CREATOR_GROUP_RID
  786. SSECURITY_CREATOR_OWNER_SERVER_RID = _fstools.SSECURITY_CREATOR_OWNER_SERVER_RID
  787. SSECURITY_CREATOR_GROUP_SERVER_RID = _fstools.SSECURITY_CREATOR_GROUP_SERVER_RID
  788. SSECURITY_DIALUP_RID = _fstools.SSECURITY_DIALUP_RID
  789. SSECURITY_NETWORK_RID = _fstools.SSECURITY_NETWORK_RID
  790. SSECURITY_BATCH_RID = _fstools.SSECURITY_BATCH_RID
  791. SSECURITY_INTERACTIVE_RID = _fstools.SSECURITY_INTERACTIVE_RID
  792. SSECURITY_SERVICE_RID = _fstools.SSECURITY_SERVICE_RID
  793. SSECURITY_ANONYMOUS_LOGON_RID = _fstools.SSECURITY_ANONYMOUS_LOGON_RID
  794. SSECURITY_PROXY_RID = _fstools.SSECURITY_PROXY_RID
  795. SSECURITY_ENTERPRISE_CONTROLLERS_RID = _fstools.SSECURITY_ENTERPRISE_CONTROLLERS_RID
  796. SSECURITY_SERVER_LOGON_RID = _fstools.SSECURITY_SERVER_LOGON_RID
  797. SSECURITY_PRINCIPAL_SELF_RID = _fstools.SSECURITY_PRINCIPAL_SELF_RID
  798. SSECURITY_AUTHENTICATED_USER_RID = _fstools.SSECURITY_AUTHENTICATED_USER_RID
  799. SSECURITY_RESTRICTED_CODE_RID = _fstools.SSECURITY_RESTRICTED_CODE_RID
  800. SSECURITY_TERMINAL_SERVER_RID = _fstools.SSECURITY_TERMINAL_SERVER_RID
  801. SSECURITY_LOGON_IDS_RID = _fstools.SSECURITY_LOGON_IDS_RID
  802. SSECURITY_LOGON_IDS_RID_COUNT = _fstools.SSECURITY_LOGON_IDS_RID_COUNT
  803. SSECURITY_LOCAL_SYSTEM_RID = _fstools.SSECURITY_LOCAL_SYSTEM_RID
  804. SSECURITY_NT_NON_UNIQUE = _fstools.SSECURITY_NT_NON_UNIQUE
  805. SSECURITY_BUILTIN_DOMAIN_RID = _fstools.SSECURITY_BUILTIN_DOMAIN_RID
  806. SDOMAIN_USER_RID_ADMIN = _fstools.SDOMAIN_USER_RID_ADMIN
  807. SDOMAIN_USER_RID_GUEST = _fstools.SDOMAIN_USER_RID_GUEST
  808. SDOMAIN_USER_RID_KRBTGT = _fstools.SDOMAIN_USER_RID_KRBTGT
  809. SDOMAIN_GROUP_RID_ADMINS = _fstools.SDOMAIN_GROUP_RID_ADMINS
  810. SDOMAIN_GROUP_RID_USERS = _fstools.SDOMAIN_GROUP_RID_USERS
  811. SDOMAIN_GROUP_RID_GUESTS = _fstools.SDOMAIN_GROUP_RID_GUESTS
  812. SDOMAIN_GROUP_RID_COMPUTERS = _fstools.SDOMAIN_GROUP_RID_COMPUTERS
  813. SDOMAIN_GROUP_RID_CONTROLLERS = _fstools.SDOMAIN_GROUP_RID_CONTROLLERS
  814. SDOMAIN_GROUP_RID_CERT_ADMINS = _fstools.SDOMAIN_GROUP_RID_CERT_ADMINS
  815. SDOMAIN_GROUP_RID_SCHEMA_ADMINS = _fstools.SDOMAIN_GROUP_RID_SCHEMA_ADMINS
  816. SDOMAIN_GROUP_RID_ENTERPRISE_ADMINS = _fstools.SDOMAIN_GROUP_RID_ENTERPRISE_ADMINS
  817. SDOMAIN_GROUP_RID_POLICY_ADMINS = _fstools.SDOMAIN_GROUP_RID_POLICY_ADMINS
  818. SDOMAIN_ALIAS_RID_ADMINS = _fstools.SDOMAIN_ALIAS_RID_ADMINS
  819. SDOMAIN_ALIAS_RID_USERS = _fstools.SDOMAIN_ALIAS_RID_USERS
  820. SDOMAIN_ALIAS_RID_GUESTS = _fstools.SDOMAIN_ALIAS_RID_GUESTS
  821. SDOMAIN_ALIAS_RID_POWER_USERS = _fstools.SDOMAIN_ALIAS_RID_POWER_USERS
  822. SDOMAIN_ALIAS_RID_ACCOUNT_OPS = _fstools.SDOMAIN_ALIAS_RID_ACCOUNT_OPS
  823. SDOMAIN_ALIAS_RID_SYSTEM_OPS = _fstools.SDOMAIN_ALIAS_RID_SYSTEM_OPS
  824. SDOMAIN_ALIAS_RID_PRINT_OPS = _fstools.SDOMAIN_ALIAS_RID_PRINT_OPS
  825. SDOMAIN_ALIAS_RID_BACKUP_OPS = _fstools.SDOMAIN_ALIAS_RID_BACKUP_OPS
  826. SDOMAIN_ALIAS_RID_REPLICATOR = _fstools.SDOMAIN_ALIAS_RID_REPLICATOR
  827. SDOMAIN_ALIAS_RID_RAS_SERVERS = _fstools.SDOMAIN_ALIAS_RID_RAS_SERVERS
  828. SDOMAIN_ALIAS_RID_PREW2KCOMPACCESS = _fstools.SDOMAIN_ALIAS_RID_PREW2KCOMPACCESS
  829. SSID_REVISION = _fstools.SSID_REVISION
  830. SSID_MAX_SUB_AUTHORITIES = _fstools.SSID_MAX_SUB_AUTHORITIES
  831. SSID_RECOMMENDED_SUB_AUTHORITIES = _fstools.SSID_RECOMMENDED_SUB_AUTHORITIES
  832. SACCESS_MIN_MS_ACE_TYPE = _fstools.SACCESS_MIN_MS_ACE_TYPE
  833. SACCESS_ALLOWED_ACE_TYPE = _fstools.SACCESS_ALLOWED_ACE_TYPE
  834. SACCESS_DENIED_ACE_TYPE = _fstools.SACCESS_DENIED_ACE_TYPE
  835. SSYSTEM_AUDIT_ACE_TYPE = _fstools.SSYSTEM_AUDIT_ACE_TYPE
  836. SSYSTEM_ALARM_ACE_TYPE = _fstools.SSYSTEM_ALARM_ACE_TYPE
  837. SACCESS_MAX_MS_V2_ACE_TYPE = _fstools.SACCESS_MAX_MS_V2_ACE_TYPE
  838. SACCESS_ALLOWED_COMPOUND_ACE_TYPE = _fstools.SACCESS_ALLOWED_COMPOUND_ACE_TYPE
  839. SACCESS_MAX_MS_V3_ACE_TYPE = _fstools.SACCESS_MAX_MS_V3_ACE_TYPE
  840. SACCESS_MIN_MS_OBJECT_ACE_TYPE = _fstools.SACCESS_MIN_MS_OBJECT_ACE_TYPE
  841. SACCESS_ALLOWED_OBJECT_ACE_TYPE = _fstools.SACCESS_ALLOWED_OBJECT_ACE_TYPE
  842. SACCESS_DENIED_OBJECT_ACE_TYPE = _fstools.SACCESS_DENIED_OBJECT_ACE_TYPE
  843. SSYSTEM_AUDIT_OBJECT_ACE_TYPE = _fstools.SSYSTEM_AUDIT_OBJECT_ACE_TYPE
  844. SSYSTEM_ALARM_OBJECT_ACE_TYPE = _fstools.SSYSTEM_ALARM_OBJECT_ACE_TYPE
  845. SACCESS_MAX_MS_OBJECT_ACE_TYPE = _fstools.SACCESS_MAX_MS_OBJECT_ACE_TYPE
  846. SACCESS_MAX_MS_V4_ACE_TYPE = _fstools.SACCESS_MAX_MS_V4_ACE_TYPE
  847. SACCESS_MAX_MS_ACE_TYPE = _fstools.SACCESS_MAX_MS_ACE_TYPE
  848. SOBJECT_INHERIT_ACE = _fstools.SOBJECT_INHERIT_ACE
  849. SCONTAINER_INHERIT_ACE = _fstools.SCONTAINER_INHERIT_ACE
  850. SNO_PROPAGATE_INHERIT_ACE = _fstools.SNO_PROPAGATE_INHERIT_ACE
  851. SINHERIT_ONLY_ACE = _fstools.SINHERIT_ONLY_ACE
  852. SINHERITED_ACE = _fstools.SINHERITED_ACE
  853. SVALID_INHERIT_FLAGS = _fstools.SVALID_INHERIT_FLAGS
  854. SSUCCESSFUL_ACCESS_ACE_FLAG = _fstools.SSUCCESSFUL_ACCESS_ACE_FLAG
  855. SFAILED_ACCESS_ACE_FLAG = _fstools.SFAILED_ACCESS_ACE_FLAG
  856. VOLUME_IS_DIRTY = _fstools.VOLUME_IS_DIRTY
  857. VOLUME_RESIZE_LOG_FILE = _fstools.VOLUME_RESIZE_LOG_FILE
  858. VOLUME_UPGRADE_ON_MOUNT = _fstools.VOLUME_UPGRADE_ON_MOUNT
  859. VOLUME_MOUNTED_ON_NT4 = _fstools.VOLUME_MOUNTED_ON_NT4
  860. VOLUME_DELETE_USN_UNDERWAY = _fstools.VOLUME_DELETE_USN_UNDERWAY
  861. VOLUME_REPAIR_OBJECT_ID = _fstools.VOLUME_REPAIR_OBJECT_ID
  862. VOLUME_MODIFIED_BY_CHKDSK = _fstools.VOLUME_MODIFIED_BY_CHKDSK
  863. VOLUME_FLAGS_MASK = _fstools.VOLUME_FLAGS_MASK
  864. SMALL_INDEX = _fstools.SMALL_INDEX
  865. LARGE_INDEX = _fstools.LARGE_INDEX
  866. LEAF_NODE = _fstools.LEAF_NODE
  867. INDEX_NODE = _fstools.INDEX_NODE
  868. NODE_MASK = _fstools.NODE_MASK
  869. QUOTA_FLAG_DEFAULT_LIMITS = _fstools.QUOTA_FLAG_DEFAULT_LIMITS
  870. QUOTA_FLAG_LIMIT_REACHED = _fstools.QUOTA_FLAG_LIMIT_REACHED
  871. QUOTA_FLAG_ID_DELETED = _fstools.QUOTA_FLAG_ID_DELETED
  872. QUOTA_FLAG_USER_MASK = _fstools.QUOTA_FLAG_USER_MASK
  873. QUOTA_FLAG_TRACKING_ENABLED = _fstools.QUOTA_FLAG_TRACKING_ENABLED
  874. QUOTA_FLAG_ENFORCEMENT_ENABLED = _fstools.QUOTA_FLAG_ENFORCEMENT_ENABLED
  875. QUOTA_FLAG_TRACKING_REQUESTED = _fstools.QUOTA_FLAG_TRACKING_REQUESTED
  876. QUOTA_FLAG_LOG_THRESHOLD = _fstools.QUOTA_FLAG_LOG_THRESHOLD
  877. QUOTA_FLAG_LOG_LIMIT = _fstools.QUOTA_FLAG_LOG_LIMIT
  878. QUOTA_FLAG_OUT_OF_DATE = _fstools.QUOTA_FLAG_OUT_OF_DATE
  879. QUOTA_FLAG_CORRUPT = _fstools.QUOTA_FLAG_CORRUPT
  880. QUOTA_FLAG_PENDING_DELETES = _fstools.QUOTA_FLAG_PENDING_DELETES
  881. QUOTA_INVALID_ID = _fstools.QUOTA_INVALID_ID
  882. QUOTA_DEFAULTS_ID = _fstools.QUOTA_DEFAULTS_ID
  883. QUOTA_FIRST_USER_ID = _fstools.QUOTA_FIRST_USER_ID
  884. INDEX_ENTRY_NODE = _fstools.INDEX_ENTRY_NODE
  885. INDEX_ENTRY_END = _fstools.INDEX_ENTRY_END
  886. INDEX_ENTRY_SPACE_FILLER = _fstools.INDEX_ENTRY_SPACE_FILLER
  887. NEED_EA = _fstools.NEED_EA
  888.  
  889. class CNTFSAttribute(_object):
  890.     __swig_setmethods__ = { }
  891.     
  892.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSAttribute, name, value)
  893.     __swig_getmethods__ = { }
  894.     
  895.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSAttribute, name)
  896.     __repr__ = _swig_repr
  897.     
  898.     def __init__(self, *args):
  899.         if self.__class__ == CNTFSAttribute:
  900.             args = (None,) + args
  901.         else:
  902.             args = (self,) + args
  903.         this = _fstools.new_CNTFSAttribute(*args)
  904.         
  905.         try:
  906.             self.this.append(this)
  907.         except:
  908.             self.this = this
  909.  
  910.  
  911.     
  912.     def get_type(*args):
  913.         return _fstools.CNTFSAttribute_get_type(*args)
  914.  
  915.     
  916.     def get_flags(*args):
  917.         return _fstools.CNTFSAttribute_get_flags(*args)
  918.  
  919.     __swig_destroy__ = _fstools.delete_CNTFSAttribute
  920.     
  921.     __del__ = lambda self: pass
  922.     
  923.     def get_name(*args):
  924.         return _fstools.CNTFSAttribute_get_name(*args)
  925.  
  926.     
  927.     def __disown__(self):
  928.         self.this.disown()
  929.         _fstools.disown_CNTFSAttribute(self)
  930.         return weakref_proxy(self)
  931.  
  932.  
  933. CNTFSAttribute_swigregister = _fstools.CNTFSAttribute_swigregister
  934. CNTFSAttribute_swigregister(CNTFSAttribute)
  935. cvar = _fstools.cvar
  936. MFT_REF_MASK_CPU = cvar.MFT_REF_MASK_CPU
  937. MFT_REF_MASK_LE = cvar.MFT_REF_MASK_LE
  938. NONE_CLUSTER_VALUE = cvar.NONE_CLUSTER_VALUE
  939.  
  940. class SNTFSExtent(_object):
  941.     __swig_setmethods__ = { }
  942.     
  943.     __setattr__ = lambda self, name, value: _swig_setattr(self, SNTFSExtent, name, value)
  944.     __swig_getmethods__ = { }
  945.     
  946.     __getattr__ = lambda self, name: _swig_getattr(self, SNTFSExtent, name)
  947.     __repr__ = _swig_repr
  948.     __swig_setmethods__['vcn'] = _fstools.SNTFSExtent_vcn_set
  949.     __swig_getmethods__['vcn'] = _fstools.SNTFSExtent_vcn_get
  950.     if _newclass:
  951.         vcn = _swig_property(_fstools.SNTFSExtent_vcn_get, _fstools.SNTFSExtent_vcn_set)
  952.     
  953.     __swig_setmethods__['lcn'] = _fstools.SNTFSExtent_lcn_set
  954.     __swig_getmethods__['lcn'] = _fstools.SNTFSExtent_lcn_get
  955.     if _newclass:
  956.         lcn = _swig_property(_fstools.SNTFSExtent_lcn_get, _fstools.SNTFSExtent_lcn_set)
  957.     
  958.     __swig_setmethods__['length'] = _fstools.SNTFSExtent_length_set
  959.     __swig_getmethods__['length'] = _fstools.SNTFSExtent_length_get
  960.     if _newclass:
  961.         length = _swig_property(_fstools.SNTFSExtent_length_get, _fstools.SNTFSExtent_length_set)
  962.     
  963.     
  964.     def __init__(self, *args):
  965.         this = _fstools.new_SNTFSExtent(*args)
  966.         
  967.         try:
  968.             self.this.append(this)
  969.         except:
  970.             self.this = this
  971.  
  972.  
  973.     __swig_destroy__ = _fstools.delete_SNTFSExtent
  974.     
  975.     __del__ = lambda self: pass
  976.  
  977. SNTFSExtent_swigregister = _fstools.SNTFSExtent_swigregister
  978. SNTFSExtent_swigregister(SNTFSExtent)
  979.  
  980. class CNTFSExtentList(_object):
  981.     __swig_setmethods__ = { }
  982.     
  983.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSExtentList, name, value)
  984.     __swig_getmethods__ = { }
  985.     
  986.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSExtentList, name)
  987.     
  988.     def __init__(self):
  989.         raise AttributeError, 'No constructor defined'
  990.  
  991.     __repr__ = _swig_repr
  992.     
  993.     def get_count(*args):
  994.         return _fstools.CNTFSExtentList_get_count(*args)
  995.  
  996.     __swig_destroy__ = _fstools.delete_CNTFSExtentList
  997.     
  998.     __del__ = lambda self: pass
  999.     
  1000.     def get_extent(*args):
  1001.         return _fstools.CNTFSExtentList_get_extent(*args)
  1002.  
  1003.     
  1004.     def __len__(*args):
  1005.         return _fstools.CNTFSExtentList___len__(*args)
  1006.  
  1007.     
  1008.     def __getitem__(*args):
  1009.         return _fstools.CNTFSExtentList___getitem__(*args)
  1010.  
  1011.  
  1012. CNTFSExtentList_swigregister = _fstools.CNTFSExtentList_swigregister
  1013. CNTFSExtentList_swigregister(CNTFSExtentList)
  1014.  
  1015. class CNTFSResidentAttribute(CNTFSAttribute):
  1016.     __swig_setmethods__ = { }
  1017.     for _s in [
  1018.         CNTFSAttribute]:
  1019.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1020.     
  1021.     
  1022.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSResidentAttribute, name, value)
  1023.     __swig_getmethods__ = { }
  1024.     for _s in [
  1025.         CNTFSAttribute]:
  1026.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1027.     
  1028.     
  1029.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSResidentAttribute, name)
  1030.     __repr__ = _swig_repr
  1031.     
  1032.     def __init__(self, *args):
  1033.         if self.__class__ == CNTFSResidentAttribute:
  1034.             args = (None,) + args
  1035.         else:
  1036.             args = (self,) + args
  1037.         this = _fstools.new_CNTFSResidentAttribute(*args)
  1038.         
  1039.         try:
  1040.             self.this.append(this)
  1041.         except:
  1042.             self.this = this
  1043.  
  1044.  
  1045.     
  1046.     def get_content(*args):
  1047.         return _fstools.CNTFSResidentAttribute_get_content(*args)
  1048.  
  1049.     __swig_destroy__ = _fstools.delete_CNTFSResidentAttribute
  1050.     
  1051.     __del__ = lambda self: pass
  1052.     
  1053.     def __disown__(self):
  1054.         self.this.disown()
  1055.         _fstools.disown_CNTFSResidentAttribute(self)
  1056.         return weakref_proxy(self)
  1057.  
  1058.  
  1059. CNTFSResidentAttribute_swigregister = _fstools.CNTFSResidentAttribute_swigregister
  1060. CNTFSResidentAttribute_swigregister(CNTFSResidentAttribute)
  1061.  
  1062. class CNTFSNonResidentAttribute(CNTFSAttribute):
  1063.     __swig_setmethods__ = { }
  1064.     for _s in [
  1065.         CNTFSAttribute]:
  1066.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1067.     
  1068.     
  1069.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSNonResidentAttribute, name, value)
  1070.     __swig_getmethods__ = { }
  1071.     for _s in [
  1072.         CNTFSAttribute]:
  1073.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1074.     
  1075.     
  1076.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSNonResidentAttribute, name)
  1077.     __repr__ = _swig_repr
  1078.     
  1079.     def __init__(self, *args):
  1080.         if self.__class__ == CNTFSNonResidentAttribute:
  1081.             args = (None,) + args
  1082.         else:
  1083.             args = (self,) + args
  1084.         this = _fstools.new_CNTFSNonResidentAttribute(*args)
  1085.         
  1086.         try:
  1087.             self.this.append(this)
  1088.         except:
  1089.             self.this = this
  1090.  
  1091.  
  1092.     
  1093.     def get_lowest_vcn(*args):
  1094.         return _fstools.CNTFSNonResidentAttribute_get_lowest_vcn(*args)
  1095.  
  1096.     
  1097.     def get_highest_vcn(*args):
  1098.         return _fstools.CNTFSNonResidentAttribute_get_highest_vcn(*args)
  1099.  
  1100.     
  1101.     def get_compression_unit(*args):
  1102.         return _fstools.CNTFSNonResidentAttribute_get_compression_unit(*args)
  1103.  
  1104.     
  1105.     def get_extents(*args):
  1106.         return _fstools.CNTFSNonResidentAttribute_get_extents(*args)
  1107.  
  1108.     
  1109.     def get_allocated_size(*args):
  1110.         return _fstools.CNTFSNonResidentAttribute_get_allocated_size(*args)
  1111.  
  1112.     
  1113.     def get_data_size(*args):
  1114.         return _fstools.CNTFSNonResidentAttribute_get_data_size(*args)
  1115.  
  1116.     
  1117.     def get_compressed_size(*args):
  1118.         return _fstools.CNTFSNonResidentAttribute_get_compressed_size(*args)
  1119.  
  1120.     __swig_destroy__ = _fstools.delete_CNTFSNonResidentAttribute
  1121.     
  1122.     __del__ = lambda self: pass
  1123.     
  1124.     def __disown__(self):
  1125.         self.this.disown()
  1126.         _fstools.disown_CNTFSNonResidentAttribute(self)
  1127.         return weakref_proxy(self)
  1128.  
  1129.  
  1130. CNTFSNonResidentAttribute_swigregister = _fstools.CNTFSNonResidentAttribute_swigregister
  1131. CNTFSNonResidentAttribute_swigregister(CNTFSNonResidentAttribute)
  1132.  
  1133. class CNTFSMFTRecord(_object):
  1134.     __swig_setmethods__ = { }
  1135.     
  1136.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSMFTRecord, name, value)
  1137.     __swig_getmethods__ = { }
  1138.     
  1139.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSMFTRecord, name)
  1140.     
  1141.     def __init__(self):
  1142.         raise AttributeError, 'No constructor defined'
  1143.  
  1144.     __repr__ = _swig_repr
  1145.     
  1146.     def get_magic(*args):
  1147.         return _fstools.CNTFSMFTRecord_get_magic(*args)
  1148.  
  1149.     
  1150.     def get_link_count(*args):
  1151.         return _fstools.CNTFSMFTRecord_get_link_count(*args)
  1152.  
  1153.     
  1154.     def get_flags(*args):
  1155.         return _fstools.CNTFSMFTRecord_get_flags(*args)
  1156.  
  1157.     
  1158.     def get_base_mft_record(*args):
  1159.         return _fstools.CNTFSMFTRecord_get_base_mft_record(*args)
  1160.  
  1161.     
  1162.     def get_attr_count(*args):
  1163.         return _fstools.CNTFSMFTRecord_get_attr_count(*args)
  1164.  
  1165.     
  1166.     def get_rattr_count(*args):
  1167.         return _fstools.CNTFSMFTRecord_get_rattr_count(*args)
  1168.  
  1169.     
  1170.     def get_nattr_count(*args):
  1171.         return _fstools.CNTFSMFTRecord_get_nattr_count(*args)
  1172.  
  1173.     __swig_destroy__ = _fstools.delete_CNTFSMFTRecord
  1174.     
  1175.     __del__ = lambda self: pass
  1176.     
  1177.     def get_nattribute(*args):
  1178.         return _fstools.CNTFSMFTRecord_get_nattribute(*args)
  1179.  
  1180.     
  1181.     def get_rattribute(*args):
  1182.         return _fstools.CNTFSMFTRecord_get_rattribute(*args)
  1183.  
  1184.  
  1185. CNTFSMFTRecord_swigregister = _fstools.CNTFSMFTRecord_swigregister
  1186. CNTFSMFTRecord_swigregister(CNTFSMFTRecord)
  1187.  
  1188. class CNTFSBaseObject(_object):
  1189.     __swig_setmethods__ = { }
  1190.     
  1191.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSBaseObject, name, value)
  1192.     __swig_getmethods__ = { }
  1193.     
  1194.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSBaseObject, name)
  1195.     __repr__ = _swig_repr
  1196.     
  1197.     def __init__(self, *args):
  1198.         if self.__class__ == CNTFSBaseObject:
  1199.             args = (None,) + args
  1200.         else:
  1201.             args = (self,) + args
  1202.         this = _fstools.new_CNTFSBaseObject(*args)
  1203.         
  1204.         try:
  1205.             self.this.append(this)
  1206.         except:
  1207.             self.this = this
  1208.  
  1209.  
  1210.     __swig_destroy__ = _fstools.delete_CNTFSBaseObject
  1211.     
  1212.     __del__ = lambda self: pass
  1213.     
  1214.     def __disown__(self):
  1215.         self.this.disown()
  1216.         _fstools.disown_CNTFSBaseObject(self)
  1217.         return weakref_proxy(self)
  1218.  
  1219.  
  1220. CNTFSBaseObject_swigregister = _fstools.CNTFSBaseObject_swigregister
  1221. CNTFSBaseObject_swigregister(CNTFSBaseObject)
  1222.  
  1223. class CNTFSFileNameObject(CNTFSBaseObject):
  1224.     __swig_setmethods__ = { }
  1225.     for _s in [
  1226.         CNTFSBaseObject]:
  1227.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1228.     
  1229.     
  1230.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSFileNameObject, name, value)
  1231.     __swig_getmethods__ = { }
  1232.     for _s in [
  1233.         CNTFSBaseObject]:
  1234.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1235.     
  1236.     
  1237.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSFileNameObject, name)
  1238.     __repr__ = _swig_repr
  1239.     
  1240.     def __init__(self, *args):
  1241.         if self.__class__ == CNTFSFileNameObject:
  1242.             args = (None,) + args
  1243.         else:
  1244.             args = (self,) + args
  1245.         this = _fstools.new_CNTFSFileNameObject(*args)
  1246.         
  1247.         try:
  1248.             self.this.append(this)
  1249.         except:
  1250.             self.this = this
  1251.  
  1252.  
  1253.     
  1254.     def get_parent_directory(*args):
  1255.         return _fstools.CNTFSFileNameObject_get_parent_directory(*args)
  1256.  
  1257.     
  1258.     def get_creation_time(*args):
  1259.         return _fstools.CNTFSFileNameObject_get_creation_time(*args)
  1260.  
  1261.     
  1262.     def get_last_data_change_time(*args):
  1263.         return _fstools.CNTFSFileNameObject_get_last_data_change_time(*args)
  1264.  
  1265.     
  1266.     def get_last_mft_change_time(*args):
  1267.         return _fstools.CNTFSFileNameObject_get_last_mft_change_time(*args)
  1268.  
  1269.     
  1270.     def get_last_access_time(*args):
  1271.         return _fstools.CNTFSFileNameObject_get_last_access_time(*args)
  1272.  
  1273.     
  1274.     def get_allocated_size(*args):
  1275.         return _fstools.CNTFSFileNameObject_get_allocated_size(*args)
  1276.  
  1277.     
  1278.     def get_data_size(*args):
  1279.         return _fstools.CNTFSFileNameObject_get_data_size(*args)
  1280.  
  1281.     
  1282.     def get_file_attributes(*args):
  1283.         return _fstools.CNTFSFileNameObject_get_file_attributes(*args)
  1284.  
  1285.     
  1286.     def get_packed_ea_size(*args):
  1287.         return _fstools.CNTFSFileNameObject_get_packed_ea_size(*args)
  1288.  
  1289.     
  1290.     def get_reparse_point_tag(*args):
  1291.         return _fstools.CNTFSFileNameObject_get_reparse_point_tag(*args)
  1292.  
  1293.     
  1294.     def get_file_name_length(*args):
  1295.         return _fstools.CNTFSFileNameObject_get_file_name_length(*args)
  1296.  
  1297.     
  1298.     def get_file_name_type(*args):
  1299.         return _fstools.CNTFSFileNameObject_get_file_name_type(*args)
  1300.  
  1301.     
  1302.     def get_file_name(*args):
  1303.         return _fstools.CNTFSFileNameObject_get_file_name(*args)
  1304.  
  1305.     __swig_destroy__ = _fstools.delete_CNTFSFileNameObject
  1306.     
  1307.     __del__ = lambda self: pass
  1308.     
  1309.     def __disown__(self):
  1310.         self.this.disown()
  1311.         _fstools.disown_CNTFSFileNameObject(self)
  1312.         return weakref_proxy(self)
  1313.  
  1314.  
  1315. CNTFSFileNameObject_swigregister = _fstools.CNTFSFileNameObject_swigregister
  1316. CNTFSFileNameObject_swigregister(CNTFSFileNameObject)
  1317.  
  1318. class CNTFSAttrListEntryObject(CNTFSBaseObject):
  1319.     __swig_setmethods__ = { }
  1320.     for _s in [
  1321.         CNTFSBaseObject]:
  1322.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1323.     
  1324.     
  1325.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSAttrListEntryObject, name, value)
  1326.     __swig_getmethods__ = { }
  1327.     for _s in [
  1328.         CNTFSBaseObject]:
  1329.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1330.     
  1331.     
  1332.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSAttrListEntryObject, name)
  1333.     __repr__ = _swig_repr
  1334.     
  1335.     def __init__(self, *args):
  1336.         if self.__class__ == CNTFSAttrListEntryObject:
  1337.             args = (None,) + args
  1338.         else:
  1339.             args = (self,) + args
  1340.         this = _fstools.new_CNTFSAttrListEntryObject(*args)
  1341.         
  1342.         try:
  1343.             self.this.append(this)
  1344.         except:
  1345.             self.this = this
  1346.  
  1347.  
  1348.     
  1349.     def get_type(*args):
  1350.         return _fstools.CNTFSAttrListEntryObject_get_type(*args)
  1351.  
  1352.     
  1353.     def get_length(*args):
  1354.         return _fstools.CNTFSAttrListEntryObject_get_length(*args)
  1355.  
  1356.     
  1357.     def get_lowest_vcn(*args):
  1358.         return _fstools.CNTFSAttrListEntryObject_get_lowest_vcn(*args)
  1359.  
  1360.     
  1361.     def get_mft_reference(*args):
  1362.         return _fstools.CNTFSAttrListEntryObject_get_mft_reference(*args)
  1363.  
  1364.     
  1365.     def get_instance(*args):
  1366.         return _fstools.CNTFSAttrListEntryObject_get_instance(*args)
  1367.  
  1368.     
  1369.     def get_name_length(*args):
  1370.         return _fstools.CNTFSAttrListEntryObject_get_name_length(*args)
  1371.  
  1372.     
  1373.     def get_name(*args):
  1374.         return _fstools.CNTFSAttrListEntryObject_get_name(*args)
  1375.  
  1376.     __swig_destroy__ = _fstools.delete_CNTFSAttrListEntryObject
  1377.     
  1378.     __del__ = lambda self: pass
  1379.     
  1380.     def __disown__(self):
  1381.         self.this.disown()
  1382.         _fstools.disown_CNTFSAttrListEntryObject(self)
  1383.         return weakref_proxy(self)
  1384.  
  1385.  
  1386. CNTFSAttrListEntryObject_swigregister = _fstools.CNTFSAttrListEntryObject_swigregister
  1387. CNTFSAttrListEntryObject_swigregister(CNTFSAttrListEntryObject)
  1388.  
  1389. class CNTFSAttrListObject(CNTFSBaseObject):
  1390.     __swig_setmethods__ = { }
  1391.     for _s in [
  1392.         CNTFSBaseObject]:
  1393.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1394.     
  1395.     
  1396.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSAttrListObject, name, value)
  1397.     __swig_getmethods__ = { }
  1398.     for _s in [
  1399.         CNTFSBaseObject]:
  1400.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1401.     
  1402.     
  1403.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSAttrListObject, name)
  1404.     __repr__ = _swig_repr
  1405.     
  1406.     def __init__(self, *args):
  1407.         if self.__class__ == CNTFSAttrListObject:
  1408.             args = (None,) + args
  1409.         else:
  1410.             args = (self,) + args
  1411.         this = _fstools.new_CNTFSAttrListObject(*args)
  1412.         
  1413.         try:
  1414.             self.this.append(this)
  1415.         except:
  1416.             self.this = this
  1417.  
  1418.  
  1419.     
  1420.     def get_count(*args):
  1421.         return _fstools.CNTFSAttrListObject_get_count(*args)
  1422.  
  1423.     __swig_destroy__ = _fstools.delete_CNTFSAttrListObject
  1424.     
  1425.     __del__ = lambda self: pass
  1426.     
  1427.     def get_attr(*args):
  1428.         return _fstools.CNTFSAttrListObject_get_attr(*args)
  1429.  
  1430.     
  1431.     def __getitem__(*args):
  1432.         return _fstools.CNTFSAttrListObject___getitem__(*args)
  1433.  
  1434.     
  1435.     def __len__(*args):
  1436.         return _fstools.CNTFSAttrListObject___len__(*args)
  1437.  
  1438.     
  1439.     def __disown__(self):
  1440.         self.this.disown()
  1441.         _fstools.disown_CNTFSAttrListObject(self)
  1442.         return weakref_proxy(self)
  1443.  
  1444.  
  1445. CNTFSAttrListObject_swigregister = _fstools.CNTFSAttrListObject_swigregister
  1446. CNTFSAttrListObject_swigregister(CNTFSAttrListObject)
  1447.  
  1448. class CNTFSIndexEntryObject(CNTFSBaseObject):
  1449.     __swig_setmethods__ = { }
  1450.     for _s in [
  1451.         CNTFSBaseObject]:
  1452.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1453.     
  1454.     
  1455.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSIndexEntryObject, name, value)
  1456.     __swig_getmethods__ = { }
  1457.     for _s in [
  1458.         CNTFSBaseObject]:
  1459.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1460.     
  1461.     
  1462.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSIndexEntryObject, name)
  1463.     __repr__ = _swig_repr
  1464.     
  1465.     def __init__(self, *args):
  1466.         if self.__class__ == CNTFSIndexEntryObject:
  1467.             args = (None,) + args
  1468.         else:
  1469.             args = (self,) + args
  1470.         this = _fstools.new_CNTFSIndexEntryObject(*args)
  1471.         
  1472.         try:
  1473.             self.this.append(this)
  1474.         except:
  1475.             self.this = this
  1476.  
  1477.  
  1478.     
  1479.     def get_indexed_file(*args):
  1480.         return _fstools.CNTFSIndexEntryObject_get_indexed_file(*args)
  1481.  
  1482.     
  1483.     def get_length(*args):
  1484.         return _fstools.CNTFSIndexEntryObject_get_length(*args)
  1485.  
  1486.     
  1487.     def get_key_length(*args):
  1488.         return _fstools.CNTFSIndexEntryObject_get_key_length(*args)
  1489.  
  1490.     
  1491.     def get_flags(*args):
  1492.         return _fstools.CNTFSIndexEntryObject_get_flags(*args)
  1493.  
  1494.     
  1495.     def get_key(*args):
  1496.         return _fstools.CNTFSIndexEntryObject_get_key(*args)
  1497.  
  1498.     __swig_destroy__ = _fstools.delete_CNTFSIndexEntryObject
  1499.     
  1500.     __del__ = lambda self: pass
  1501.     
  1502.     def __disown__(self):
  1503.         self.this.disown()
  1504.         _fstools.disown_CNTFSIndexEntryObject(self)
  1505.         return weakref_proxy(self)
  1506.  
  1507.  
  1508. CNTFSIndexEntryObject_swigregister = _fstools.CNTFSIndexEntryObject_swigregister
  1509. CNTFSIndexEntryObject_swigregister(CNTFSIndexEntryObject)
  1510.  
  1511. class CNTFSIndexRootObject(CNTFSBaseObject):
  1512.     __swig_setmethods__ = { }
  1513.     for _s in [
  1514.         CNTFSBaseObject]:
  1515.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1516.     
  1517.     
  1518.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSIndexRootObject, name, value)
  1519.     __swig_getmethods__ = { }
  1520.     for _s in [
  1521.         CNTFSBaseObject]:
  1522.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1523.     
  1524.     
  1525.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSIndexRootObject, name)
  1526.     __repr__ = _swig_repr
  1527.     
  1528.     def __init__(self, *args):
  1529.         if self.__class__ == CNTFSIndexRootObject:
  1530.             args = (None,) + args
  1531.         else:
  1532.             args = (self,) + args
  1533.         this = _fstools.new_CNTFSIndexRootObject(*args)
  1534.         
  1535.         try:
  1536.             self.this.append(this)
  1537.         except:
  1538.             self.this = this
  1539.  
  1540.  
  1541.     
  1542.     def get_type(*args):
  1543.         return _fstools.CNTFSIndexRootObject_get_type(*args)
  1544.  
  1545.     
  1546.     def get_collation_rule(*args):
  1547.         return _fstools.CNTFSIndexRootObject_get_collation_rule(*args)
  1548.  
  1549.     
  1550.     def get_index_block_size(*args):
  1551.         return _fstools.CNTFSIndexRootObject_get_index_block_size(*args)
  1552.  
  1553.     
  1554.     def get_clusters_per_index_block(*args):
  1555.         return _fstools.CNTFSIndexRootObject_get_clusters_per_index_block(*args)
  1556.  
  1557.     
  1558.     def get_index_length(*args):
  1559.         return _fstools.CNTFSIndexRootObject_get_index_length(*args)
  1560.  
  1561.     
  1562.     def get_allocated_size(*args):
  1563.         return _fstools.CNTFSIndexRootObject_get_allocated_size(*args)
  1564.  
  1565.     
  1566.     def get_header_flags(*args):
  1567.         return _fstools.CNTFSIndexRootObject_get_header_flags(*args)
  1568.  
  1569.     
  1570.     def get_count(*args):
  1571.         return _fstools.CNTFSIndexRootObject_get_count(*args)
  1572.  
  1573.     __swig_destroy__ = _fstools.delete_CNTFSIndexRootObject
  1574.     
  1575.     __del__ = lambda self: pass
  1576.     
  1577.     def get_entry(*args):
  1578.         return _fstools.CNTFSIndexRootObject_get_entry(*args)
  1579.  
  1580.     
  1581.     def __len__(*args):
  1582.         return _fstools.CNTFSIndexRootObject___len__(*args)
  1583.  
  1584.     
  1585.     def __getitem__(*args):
  1586.         return _fstools.CNTFSIndexRootObject___getitem__(*args)
  1587.  
  1588.     
  1589.     def __disown__(self):
  1590.         self.this.disown()
  1591.         _fstools.disown_CNTFSIndexRootObject(self)
  1592.         return weakref_proxy(self)
  1593.  
  1594.  
  1595. CNTFSIndexRootObject_swigregister = _fstools.CNTFSIndexRootObject_swigregister
  1596. CNTFSIndexRootObject_swigregister(CNTFSIndexRootObject)
  1597.  
  1598. class CNTFSIndexBlockObject(CNTFSBaseObject):
  1599.     __swig_setmethods__ = { }
  1600.     for _s in [
  1601.         CNTFSBaseObject]:
  1602.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1603.     
  1604.     
  1605.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSIndexBlockObject, name, value)
  1606.     __swig_getmethods__ = { }
  1607.     for _s in [
  1608.         CNTFSBaseObject]:
  1609.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1610.     
  1611.     
  1612.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSIndexBlockObject, name)
  1613.     __repr__ = _swig_repr
  1614.     
  1615.     def __init__(self, *args):
  1616.         if self.__class__ == CNTFSIndexBlockObject:
  1617.             args = (None,) + args
  1618.         else:
  1619.             args = (self,) + args
  1620.         this = _fstools.new_CNTFSIndexBlockObject(*args)
  1621.         
  1622.         try:
  1623.             self.this.append(this)
  1624.         except:
  1625.             self.this = this
  1626.  
  1627.  
  1628.     
  1629.     def get_lsn(*args):
  1630.         return _fstools.CNTFSIndexBlockObject_get_lsn(*args)
  1631.  
  1632.     
  1633.     def get_index_block_vcn(*args):
  1634.         return _fstools.CNTFSIndexBlockObject_get_index_block_vcn(*args)
  1635.  
  1636.     
  1637.     def get_index_length(*args):
  1638.         return _fstools.CNTFSIndexBlockObject_get_index_length(*args)
  1639.  
  1640.     
  1641.     def get_allocated_size(*args):
  1642.         return _fstools.CNTFSIndexBlockObject_get_allocated_size(*args)
  1643.  
  1644.     
  1645.     def get_header_flags(*args):
  1646.         return _fstools.CNTFSIndexBlockObject_get_header_flags(*args)
  1647.  
  1648.     
  1649.     def get_count(*args):
  1650.         return _fstools.CNTFSIndexBlockObject_get_count(*args)
  1651.  
  1652.     __swig_destroy__ = _fstools.delete_CNTFSIndexBlockObject
  1653.     
  1654.     __del__ = lambda self: pass
  1655.     
  1656.     def get_entry(*args):
  1657.         return _fstools.CNTFSIndexBlockObject_get_entry(*args)
  1658.  
  1659.     
  1660.     def __len__(*args):
  1661.         return _fstools.CNTFSIndexBlockObject___len__(*args)
  1662.  
  1663.     
  1664.     def __getitem__(*args):
  1665.         return _fstools.CNTFSIndexBlockObject___getitem__(*args)
  1666.  
  1667.     
  1668.     def __disown__(self):
  1669.         self.this.disown()
  1670.         _fstools.disown_CNTFSIndexBlockObject(self)
  1671.         return weakref_proxy(self)
  1672.  
  1673.  
  1674. CNTFSIndexBlockObject_swigregister = _fstools.CNTFSIndexBlockObject_swigregister
  1675. CNTFSIndexBlockObject_swigregister(CNTFSIndexBlockObject)
  1676.  
  1677. class CNTFSAttrDefObject(CNTFSBaseObject):
  1678.     __swig_setmethods__ = { }
  1679.     for _s in [
  1680.         CNTFSBaseObject]:
  1681.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1682.     
  1683.     
  1684.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSAttrDefObject, name, value)
  1685.     __swig_getmethods__ = { }
  1686.     for _s in [
  1687.         CNTFSBaseObject]:
  1688.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1689.     
  1690.     
  1691.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSAttrDefObject, name)
  1692.     __repr__ = _swig_repr
  1693.     
  1694.     def __init__(self, *args):
  1695.         if self.__class__ == CNTFSAttrDefObject:
  1696.             args = (None,) + args
  1697.         else:
  1698.             args = (self,) + args
  1699.         this = _fstools.new_CNTFSAttrDefObject(*args)
  1700.         
  1701.         try:
  1702.             self.this.append(this)
  1703.         except:
  1704.             self.this = this
  1705.  
  1706.  
  1707.     
  1708.     def get_type(*args):
  1709.         return _fstools.CNTFSAttrDefObject_get_type(*args)
  1710.  
  1711.     
  1712.     def get_display_rule(*args):
  1713.         return _fstools.CNTFSAttrDefObject_get_display_rule(*args)
  1714.  
  1715.     
  1716.     def get_collation_rule(*args):
  1717.         return _fstools.CNTFSAttrDefObject_get_collation_rule(*args)
  1718.  
  1719.     
  1720.     def get_flags(*args):
  1721.         return _fstools.CNTFSAttrDefObject_get_flags(*args)
  1722.  
  1723.     
  1724.     def get_min_size(*args):
  1725.         return _fstools.CNTFSAttrDefObject_get_min_size(*args)
  1726.  
  1727.     
  1728.     def get_max_size(*args):
  1729.         return _fstools.CNTFSAttrDefObject_get_max_size(*args)
  1730.  
  1731.     
  1732.     def get_name(*args):
  1733.         return _fstools.CNTFSAttrDefObject_get_name(*args)
  1734.  
  1735.     __swig_destroy__ = _fstools.delete_CNTFSAttrDefObject
  1736.     
  1737.     __del__ = lambda self: pass
  1738.     
  1739.     def __disown__(self):
  1740.         self.this.disown()
  1741.         _fstools.disown_CNTFSAttrDefObject(self)
  1742.         return weakref_proxy(self)
  1743.  
  1744.  
  1745. CNTFSAttrDefObject_swigregister = _fstools.CNTFSAttrDefObject_swigregister
  1746. CNTFSAttrDefObject_swigregister(CNTFSAttrDefObject)
  1747.  
  1748. class CNTFSVolumeInformationObject(CNTFSBaseObject):
  1749.     __swig_setmethods__ = { }
  1750.     for _s in [
  1751.         CNTFSBaseObject]:
  1752.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1753.     
  1754.     
  1755.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSVolumeInformationObject, name, value)
  1756.     __swig_getmethods__ = { }
  1757.     for _s in [
  1758.         CNTFSBaseObject]:
  1759.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1760.     
  1761.     
  1762.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSVolumeInformationObject, name)
  1763.     __repr__ = _swig_repr
  1764.     
  1765.     def __init__(self, *args):
  1766.         if self.__class__ == CNTFSVolumeInformationObject:
  1767.             args = (None,) + args
  1768.         else:
  1769.             args = (self,) + args
  1770.         this = _fstools.new_CNTFSVolumeInformationObject(*args)
  1771.         
  1772.         try:
  1773.             self.this.append(this)
  1774.         except:
  1775.             self.this = this
  1776.  
  1777.  
  1778.     
  1779.     def get_major_ver(*args):
  1780.         return _fstools.CNTFSVolumeInformationObject_get_major_ver(*args)
  1781.  
  1782.     
  1783.     def get_minor_ver(*args):
  1784.         return _fstools.CNTFSVolumeInformationObject_get_minor_ver(*args)
  1785.  
  1786.     
  1787.     def get_flags(*args):
  1788.         return _fstools.CNTFSVolumeInformationObject_get_flags(*args)
  1789.  
  1790.     __swig_destroy__ = _fstools.delete_CNTFSVolumeInformationObject
  1791.     
  1792.     __del__ = lambda self: pass
  1793.     
  1794.     def __disown__(self):
  1795.         self.this.disown()
  1796.         _fstools.disown_CNTFSVolumeInformationObject(self)
  1797.         return weakref_proxy(self)
  1798.  
  1799.  
  1800. CNTFSVolumeInformationObject_swigregister = _fstools.CNTFSVolumeInformationObject_swigregister
  1801. CNTFSVolumeInformationObject_swigregister(CNTFSVolumeInformationObject)
  1802.  
  1803. class CNTFSStdInfoObject(CNTFSBaseObject):
  1804.     __swig_setmethods__ = { }
  1805.     for _s in [
  1806.         CNTFSBaseObject]:
  1807.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1808.     
  1809.     
  1810.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSStdInfoObject, name, value)
  1811.     __swig_getmethods__ = { }
  1812.     for _s in [
  1813.         CNTFSBaseObject]:
  1814.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1815.     
  1816.     
  1817.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSStdInfoObject, name)
  1818.     __repr__ = _swig_repr
  1819.     
  1820.     def __init__(self, *args):
  1821.         if self.__class__ == CNTFSStdInfoObject:
  1822.             args = (None,) + args
  1823.         else:
  1824.             args = (self,) + args
  1825.         this = _fstools.new_CNTFSStdInfoObject(*args)
  1826.         
  1827.         try:
  1828.             self.this.append(this)
  1829.         except:
  1830.             self.this = this
  1831.  
  1832.  
  1833.     
  1834.     def get_creation_time(*args):
  1835.         return _fstools.CNTFSStdInfoObject_get_creation_time(*args)
  1836.  
  1837.     
  1838.     def get_last_data_change_time(*args):
  1839.         return _fstools.CNTFSStdInfoObject_get_last_data_change_time(*args)
  1840.  
  1841.     
  1842.     def get_last_mft_change_time(*args):
  1843.         return _fstools.CNTFSStdInfoObject_get_last_mft_change_time(*args)
  1844.  
  1845.     
  1846.     def get_last_access_time(*args):
  1847.         return _fstools.CNTFSStdInfoObject_get_last_access_time(*args)
  1848.  
  1849.     
  1850.     def get_file_attributes(*args):
  1851.         return _fstools.CNTFSStdInfoObject_get_file_attributes(*args)
  1852.  
  1853.     __swig_destroy__ = _fstools.delete_CNTFSStdInfoObject
  1854.     
  1855.     __del__ = lambda self: pass
  1856.     
  1857.     def __disown__(self):
  1858.         self.this.disown()
  1859.         _fstools.disown_CNTFSStdInfoObject(self)
  1860.         return weakref_proxy(self)
  1861.  
  1862.  
  1863. CNTFSStdInfoObject_swigregister = _fstools.CNTFSStdInfoObject_swigregister
  1864. CNTFSStdInfoObject_swigregister(CNTFSStdInfoObject)
  1865.  
  1866. class CNTFSStdInfoV3Object(CNTFSStdInfoObject):
  1867.     __swig_setmethods__ = { }
  1868.     for _s in [
  1869.         CNTFSStdInfoObject]:
  1870.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  1871.     
  1872.     
  1873.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSStdInfoV3Object, name, value)
  1874.     __swig_getmethods__ = { }
  1875.     for _s in [
  1876.         CNTFSStdInfoObject]:
  1877.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  1878.     
  1879.     
  1880.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSStdInfoV3Object, name)
  1881.     __repr__ = _swig_repr
  1882.     
  1883.     def __init__(self, *args):
  1884.         if self.__class__ == CNTFSStdInfoV3Object:
  1885.             args = (None,) + args
  1886.         else:
  1887.             args = (self,) + args
  1888.         this = _fstools.new_CNTFSStdInfoV3Object(*args)
  1889.         
  1890.         try:
  1891.             self.this.append(this)
  1892.         except:
  1893.             self.this = this
  1894.  
  1895.  
  1896.     
  1897.     def get_maximum_versions(*args):
  1898.         return _fstools.CNTFSStdInfoV3Object_get_maximum_versions(*args)
  1899.  
  1900.     
  1901.     def get_version_number(*args):
  1902.         return _fstools.CNTFSStdInfoV3Object_get_version_number(*args)
  1903.  
  1904.     
  1905.     def get_class_id(*args):
  1906.         return _fstools.CNTFSStdInfoV3Object_get_class_id(*args)
  1907.  
  1908.     
  1909.     def get_owner_id(*args):
  1910.         return _fstools.CNTFSStdInfoV3Object_get_owner_id(*args)
  1911.  
  1912.     
  1913.     def get_security_id(*args):
  1914.         return _fstools.CNTFSStdInfoV3Object_get_security_id(*args)
  1915.  
  1916.     
  1917.     def get_quota_charged(*args):
  1918.         return _fstools.CNTFSStdInfoV3Object_get_quota_charged(*args)
  1919.  
  1920.     
  1921.     def get_usn(*args):
  1922.         return _fstools.CNTFSStdInfoV3Object_get_usn(*args)
  1923.  
  1924.     __swig_destroy__ = _fstools.delete_CNTFSStdInfoV3Object
  1925.     
  1926.     __del__ = lambda self: pass
  1927.     
  1928.     def __disown__(self):
  1929.         self.this.disown()
  1930.         _fstools.disown_CNTFSStdInfoV3Object(self)
  1931.         return weakref_proxy(self)
  1932.  
  1933.  
  1934. CNTFSStdInfoV3Object_swigregister = _fstools.CNTFSStdInfoV3Object_swigregister
  1935. CNTFSStdInfoV3Object_swigregister(CNTFSStdInfoV3Object)
  1936. RDS_OK = _fstools.RDS_OK
  1937. RDS_IO_ERROR = _fstools.RDS_IO_ERROR
  1938. RDS_ACCESS_ERROR = _fstools.RDS_ACCESS_ERROR
  1939. RDS_OS_ERROR = _fstools.RDS_OS_ERROR
  1940. RDS_INVALID_PARAMETER = _fstools.RDS_INVALID_PARAMETER
  1941. MST_OK = _fstools.MST_OK
  1942. MST_OVERLAPPING_ERROR = _fstools.MST_OVERLAPPING_ERROR
  1943. MST_INVALID_PARAMETER = _fstools.MST_INVALID_PARAMETER
  1944.  
  1945. class CClusterSpace(_object):
  1946.     __swig_setmethods__ = { }
  1947.     
  1948.     __setattr__ = lambda self, name, value: _swig_setattr(self, CClusterSpace, name, value)
  1949.     __swig_getmethods__ = { }
  1950.     
  1951.     __getattr__ = lambda self, name: _swig_getattr(self, CClusterSpace, name)
  1952.     __repr__ = _swig_repr
  1953.     
  1954.     def __init__(self, *args):
  1955.         if self.__class__ == CClusterSpace:
  1956.             args = (None,) + args
  1957.         else:
  1958.             args = (self,) + args
  1959.         this = _fstools.new_CClusterSpace(*args)
  1960.         
  1961.         try:
  1962.             self.this.append(this)
  1963.         except:
  1964.             self.this = this
  1965.  
  1966.  
  1967.     
  1968.     def get_cluster_size(*args):
  1969.         return _fstools.CClusterSpace_get_cluster_size(*args)
  1970.  
  1971.     
  1972.     def get_cluster_count(*args):
  1973.         return _fstools.CClusterSpace_get_cluster_count(*args)
  1974.  
  1975.     
  1976.     def _read_clusters(*args):
  1977.         return _fstools.CClusterSpace__read_clusters(*args)
  1978.  
  1979.     __swig_destroy__ = _fstools.delete_CClusterSpace
  1980.     
  1981.     __del__ = lambda self: pass
  1982.     
  1983.     def __disown__(self):
  1984.         self.this.disown()
  1985.         _fstools.disown_CClusterSpace(self)
  1986.         return weakref_proxy(self)
  1987.  
  1988.  
  1989. CClusterSpace_swigregister = _fstools.CClusterSpace_swigregister
  1990. CClusterSpace_swigregister(CClusterSpace)
  1991. DEFAULT_SECTOR_SIZE = cvar.DEFAULT_SECTOR_SIZE
  1992. LINEARIZER_NO_LIMIT = cvar.LINEARIZER_NO_LIMIT
  1993. CLUSTERIZER_NO_LIMIT = cvar.CLUSTERIZER_NO_LIMIT
  1994.  
  1995. class CLinearSpace(_object):
  1996.     __swig_setmethods__ = { }
  1997.     
  1998.     __setattr__ = lambda self, name, value: _swig_setattr(self, CLinearSpace, name, value)
  1999.     __swig_getmethods__ = { }
  2000.     
  2001.     __getattr__ = lambda self, name: _swig_getattr(self, CLinearSpace, name)
  2002.     __repr__ = _swig_repr
  2003.     
  2004.     def __init__(self, *args):
  2005.         if self.__class__ == CLinearSpace:
  2006.             args = (None,) + args
  2007.         else:
  2008.             args = (self,) + args
  2009.         this = _fstools.new_CLinearSpace(*args)
  2010.         
  2011.         try:
  2012.             self.this.append(this)
  2013.         except:
  2014.             self.this = this
  2015.  
  2016.  
  2017.     
  2018.     def get_size(*args):
  2019.         return _fstools.CLinearSpace_get_size(*args)
  2020.  
  2021.     
  2022.     def _read_data(*args):
  2023.         return _fstools.CLinearSpace__read_data(*args)
  2024.  
  2025.     __swig_destroy__ = _fstools.delete_CLinearSpace
  2026.     
  2027.     __del__ = lambda self: pass
  2028.     
  2029.     def __disown__(self):
  2030.         self.this.disown()
  2031.         _fstools.disown_CLinearSpace(self)
  2032.         return weakref_proxy(self)
  2033.  
  2034.  
  2035. CLinearSpace_swigregister = _fstools.CLinearSpace_swigregister
  2036. CLinearSpace_swigregister(CLinearSpace)
  2037.  
  2038. class CRefBufferSpace(CLinearSpace):
  2039.     __swig_setmethods__ = { }
  2040.     for _s in [
  2041.         CLinearSpace]:
  2042.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2043.     
  2044.     
  2045.     __setattr__ = lambda self, name, value: _swig_setattr(self, CRefBufferSpace, name, value)
  2046.     __swig_getmethods__ = { }
  2047.     for _s in [
  2048.         CLinearSpace]:
  2049.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2050.     
  2051.     
  2052.     __getattr__ = lambda self, name: _swig_getattr(self, CRefBufferSpace, name)
  2053.     __repr__ = _swig_repr
  2054.     
  2055.     def __init__(self, *args):
  2056.         if self.__class__ == CRefBufferSpace:
  2057.             args = (None,) + args
  2058.         else:
  2059.             args = (self,) + args
  2060.         this = _fstools.new_CRefBufferSpace(*args)
  2061.         
  2062.         try:
  2063.             self.this.append(this)
  2064.         except:
  2065.             self.this = this
  2066.  
  2067.  
  2068.     
  2069.     def _read_data(*args):
  2070.         return _fstools.CRefBufferSpace__read_data(*args)
  2071.  
  2072.     
  2073.     def get_size(*args):
  2074.         return _fstools.CRefBufferSpace_get_size(*args)
  2075.  
  2076.     __swig_destroy__ = _fstools.delete_CRefBufferSpace
  2077.     
  2078.     __del__ = lambda self: pass
  2079.     
  2080.     def __disown__(self):
  2081.         self.this.disown()
  2082.         _fstools.disown_CRefBufferSpace(self)
  2083.         return weakref_proxy(self)
  2084.  
  2085.  
  2086. CRefBufferSpace_swigregister = _fstools.CRefBufferSpace_swigregister
  2087. CRefBufferSpace_swigregister(CRefBufferSpace)
  2088.  
  2089. class CClusterLinearizer(CLinearSpace):
  2090.     __swig_setmethods__ = { }
  2091.     for _s in [
  2092.         CLinearSpace]:
  2093.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2094.     
  2095.     
  2096.     __setattr__ = lambda self, name, value: _swig_setattr(self, CClusterLinearizer, name, value)
  2097.     __swig_getmethods__ = { }
  2098.     for _s in [
  2099.         CLinearSpace]:
  2100.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2101.     
  2102.     
  2103.     __getattr__ = lambda self, name: _swig_getattr(self, CClusterLinearizer, name)
  2104.     __repr__ = _swig_repr
  2105.     
  2106.     def __init__(self, *args):
  2107.         if self.__class__ == CClusterLinearizer:
  2108.             args = (None,) + args
  2109.         else:
  2110.             args = (self,) + args
  2111.         this = _fstools.new_CClusterLinearizer(*args)
  2112.         
  2113.         try:
  2114.             self.this.append(this)
  2115.         except:
  2116.             self.this = this
  2117.  
  2118.  
  2119.     
  2120.     def _read_data(*args):
  2121.         return _fstools.CClusterLinearizer__read_data(*args)
  2122.  
  2123.     
  2124.     def get_size(*args):
  2125.         return _fstools.CClusterLinearizer_get_size(*args)
  2126.  
  2127.     __swig_destroy__ = _fstools.delete_CClusterLinearizer
  2128.     
  2129.     __del__ = lambda self: pass
  2130.     
  2131.     def __disown__(self):
  2132.         self.this.disown()
  2133.         _fstools.disown_CClusterLinearizer(self)
  2134.         return weakref_proxy(self)
  2135.  
  2136.  
  2137. CClusterLinearizer_swigregister = _fstools.CClusterLinearizer_swigregister
  2138. CClusterLinearizer_swigregister(CClusterLinearizer)
  2139.  
  2140. class CLinearClusterizer(CClusterSpace):
  2141.     __swig_setmethods__ = { }
  2142.     for _s in [
  2143.         CClusterSpace]:
  2144.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2145.     
  2146.     
  2147.     __setattr__ = lambda self, name, value: _swig_setattr(self, CLinearClusterizer, name, value)
  2148.     __swig_getmethods__ = { }
  2149.     for _s in [
  2150.         CClusterSpace]:
  2151.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2152.     
  2153.     
  2154.     __getattr__ = lambda self, name: _swig_getattr(self, CLinearClusterizer, name)
  2155.     __repr__ = _swig_repr
  2156.     
  2157.     def __init__(self, *args):
  2158.         if self.__class__ == CLinearClusterizer:
  2159.             args = (None,) + args
  2160.         else:
  2161.             args = (self,) + args
  2162.         this = _fstools.new_CLinearClusterizer(*args)
  2163.         
  2164.         try:
  2165.             self.this.append(this)
  2166.         except:
  2167.             self.this = this
  2168.  
  2169.  
  2170.     
  2171.     def get_cluster_size(*args):
  2172.         return _fstools.CLinearClusterizer_get_cluster_size(*args)
  2173.  
  2174.     
  2175.     def get_cluster_count(*args):
  2176.         return _fstools.CLinearClusterizer_get_cluster_count(*args)
  2177.  
  2178.     
  2179.     def _read_clusters(*args):
  2180.         return _fstools.CLinearClusterizer__read_clusters(*args)
  2181.  
  2182.     __swig_destroy__ = _fstools.delete_CLinearClusterizer
  2183.     
  2184.     __del__ = lambda self: pass
  2185.     
  2186.     def __disown__(self):
  2187.         self.this.disown()
  2188.         _fstools.disown_CLinearClusterizer(self)
  2189.         return weakref_proxy(self)
  2190.  
  2191.  
  2192. CLinearClusterizer_swigregister = _fstools.CLinearClusterizer_swigregister
  2193. CLinearClusterizer_swigregister(CLinearClusterizer)
  2194.  
  2195. class CBaseDisk(CClusterSpace):
  2196.     __swig_setmethods__ = { }
  2197.     for _s in [
  2198.         CClusterSpace]:
  2199.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2200.     
  2201.     
  2202.     __setattr__ = lambda self, name, value: _swig_setattr(self, CBaseDisk, name, value)
  2203.     __swig_getmethods__ = { }
  2204.     for _s in [
  2205.         CClusterSpace]:
  2206.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2207.     
  2208.     
  2209.     __getattr__ = lambda self, name: _swig_getattr(self, CBaseDisk, name)
  2210.     __repr__ = _swig_repr
  2211.     
  2212.     def __init__(self, *args):
  2213.         if self.__class__ == CBaseDisk:
  2214.             args = (None,) + args
  2215.         else:
  2216.             args = (self,) + args
  2217.         this = _fstools.new_CBaseDisk(*args)
  2218.         
  2219.         try:
  2220.             self.this.append(this)
  2221.         except:
  2222.             self.this = this
  2223.  
  2224.  
  2225.     
  2226.     def get_sector_count(*args):
  2227.         return _fstools.CBaseDisk_get_sector_count(*args)
  2228.  
  2229.     
  2230.     def get_sector_size(*args):
  2231.         return _fstools.CBaseDisk_get_sector_size(*args)
  2232.  
  2233.     
  2234.     def get_cluster_size(*args):
  2235.         return _fstools.CBaseDisk_get_cluster_size(*args)
  2236.  
  2237.     
  2238.     def get_cluster_count(*args):
  2239.         return _fstools.CBaseDisk_get_cluster_count(*args)
  2240.  
  2241.     
  2242.     def _read_sectors(*args):
  2243.         return _fstools.CBaseDisk__read_sectors(*args)
  2244.  
  2245.     
  2246.     def _read_clusters(*args):
  2247.         return _fstools.CBaseDisk__read_clusters(*args)
  2248.  
  2249.     __swig_destroy__ = _fstools.delete_CBaseDisk
  2250.     
  2251.     __del__ = lambda self: pass
  2252.     
  2253.     def __len__(*args):
  2254.         return _fstools.CBaseDisk___len__(*args)
  2255.  
  2256.     
  2257.     def __disown__(self):
  2258.         self.this.disown()
  2259.         _fstools.disown_CBaseDisk(self)
  2260.         return weakref_proxy(self)
  2261.  
  2262.  
  2263. CBaseDisk_swigregister = _fstools.CBaseDisk_swigregister
  2264. CBaseDisk_swigregister(CBaseDisk)
  2265.  
  2266. class COSDisk(CBaseDisk):
  2267.     __swig_setmethods__ = { }
  2268.     for _s in [
  2269.         CBaseDisk]:
  2270.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2271.     
  2272.     
  2273.     __setattr__ = lambda self, name, value: _swig_setattr(self, COSDisk, name, value)
  2274.     __swig_getmethods__ = { }
  2275.     for _s in [
  2276.         CBaseDisk]:
  2277.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2278.     
  2279.     
  2280.     __getattr__ = lambda self, name: _swig_getattr(self, COSDisk, name)
  2281.     __repr__ = _swig_repr
  2282.     
  2283.     def __init__(self, *args):
  2284.         if self.__class__ == COSDisk:
  2285.             args = (None,) + args
  2286.         else:
  2287.             args = (self,) + args
  2288.         this = _fstools.new_COSDisk(*args)
  2289.         
  2290.         try:
  2291.             self.this.append(this)
  2292.         except:
  2293.             self.this = this
  2294.  
  2295.  
  2296.     
  2297.     def is_initialized(*args):
  2298.         return _fstools.COSDisk_is_initialized(*args)
  2299.  
  2300.     
  2301.     def _read_sectors(*args):
  2302.         return _fstools.COSDisk__read_sectors(*args)
  2303.  
  2304.     
  2305.     def get_sector_count(*args):
  2306.         return _fstools.COSDisk_get_sector_count(*args)
  2307.  
  2308.     
  2309.     def get_sector_size(*args):
  2310.         return _fstools.COSDisk_get_sector_size(*args)
  2311.  
  2312.     __swig_destroy__ = _fstools.delete_COSDisk
  2313.     
  2314.     __del__ = lambda self: pass
  2315.     
  2316.     def __disown__(self):
  2317.         self.this.disown()
  2318.         _fstools.disown_COSDisk(self)
  2319.         return weakref_proxy(self)
  2320.  
  2321.  
  2322. COSDisk_swigregister = _fstools.COSDisk_swigregister
  2323. COSDisk_swigregister(COSDisk)
  2324.  
  2325. class CDiskClusterizer(CClusterSpace):
  2326.     __swig_setmethods__ = { }
  2327.     for _s in [
  2328.         CClusterSpace]:
  2329.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2330.     
  2331.     
  2332.     __setattr__ = lambda self, name, value: _swig_setattr(self, CDiskClusterizer, name, value)
  2333.     __swig_getmethods__ = { }
  2334.     for _s in [
  2335.         CClusterSpace]:
  2336.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2337.     
  2338.     
  2339.     __getattr__ = lambda self, name: _swig_getattr(self, CDiskClusterizer, name)
  2340.     __repr__ = _swig_repr
  2341.     
  2342.     def __init__(self, *args):
  2343.         if self.__class__ == CDiskClusterizer:
  2344.             args = (None,) + args
  2345.         else:
  2346.             args = (self,) + args
  2347.         this = _fstools.new_CDiskClusterizer(*args)
  2348.         
  2349.         try:
  2350.             self.this.append(this)
  2351.         except:
  2352.             self.this = this
  2353.  
  2354.  
  2355.     __swig_destroy__ = _fstools.delete_CDiskClusterizer
  2356.     
  2357.     __del__ = lambda self: pass
  2358.     
  2359.     def get_cluster_size(*args):
  2360.         return _fstools.CDiskClusterizer_get_cluster_size(*args)
  2361.  
  2362.     
  2363.     def get_cluster_count(*args):
  2364.         return _fstools.CDiskClusterizer_get_cluster_count(*args)
  2365.  
  2366.     
  2367.     def _read_clusters(*args):
  2368.         return _fstools.CDiskClusterizer__read_clusters(*args)
  2369.  
  2370.     
  2371.     def __disown__(self):
  2372.         self.this.disown()
  2373.         _fstools.disown_CDiskClusterizer(self)
  2374.         return weakref_proxy(self)
  2375.  
  2376.  
  2377. CDiskClusterizer_swigregister = _fstools.CDiskClusterizer_swigregister
  2378. CDiskClusterizer_swigregister(CDiskClusterizer)
  2379.  
  2380. class SExtent(_object):
  2381.     __swig_setmethods__ = { }
  2382.     
  2383.     __setattr__ = lambda self, name, value: _swig_setattr(self, SExtent, name, value)
  2384.     __swig_getmethods__ = { }
  2385.     
  2386.     __getattr__ = lambda self, name: _swig_getattr(self, SExtent, name)
  2387.     __repr__ = _swig_repr
  2388.     __swig_setmethods__['vcn'] = _fstools.SExtent_vcn_set
  2389.     __swig_getmethods__['vcn'] = _fstools.SExtent_vcn_get
  2390.     if _newclass:
  2391.         vcn = _swig_property(_fstools.SExtent_vcn_get, _fstools.SExtent_vcn_set)
  2392.     
  2393.     __swig_setmethods__['tag'] = _fstools.SExtent_tag_set
  2394.     __swig_getmethods__['tag'] = _fstools.SExtent_tag_get
  2395.     if _newclass:
  2396.         tag = _swig_property(_fstools.SExtent_tag_get, _fstools.SExtent_tag_set)
  2397.     
  2398.     __swig_setmethods__['length'] = _fstools.SExtent_length_set
  2399.     __swig_getmethods__['length'] = _fstools.SExtent_length_get
  2400.     if _newclass:
  2401.         length = _swig_property(_fstools.SExtent_length_get, _fstools.SExtent_length_set)
  2402.     
  2403.     
  2404.     def __init__(self, *args):
  2405.         this = _fstools.new_SExtent(*args)
  2406.         
  2407.         try:
  2408.             self.this.append(this)
  2409.         except:
  2410.             self.this = this
  2411.  
  2412.  
  2413.     __swig_destroy__ = _fstools.delete_SExtent
  2414.     
  2415.     __del__ = lambda self: pass
  2416.  
  2417. SExtent_swigregister = _fstools.SExtent_swigregister
  2418. SExtent_swigregister(SExtent)
  2419.  
  2420. class CExtentList(_object):
  2421.     __swig_setmethods__ = { }
  2422.     
  2423.     __setattr__ = lambda self, name, value: _swig_setattr(self, CExtentList, name, value)
  2424.     __swig_getmethods__ = { }
  2425.     
  2426.     __getattr__ = lambda self, name: _swig_getattr(self, CExtentList, name)
  2427.     __repr__ = _swig_repr
  2428.     
  2429.     def __init__(self, *args):
  2430.         if self.__class__ == CExtentList:
  2431.             args = (None,) + args
  2432.         else:
  2433.             args = (self,) + args
  2434.         this = _fstools.new_CExtentList(*args)
  2435.         
  2436.         try:
  2437.             self.this.append(this)
  2438.         except:
  2439.             self.this = this
  2440.  
  2441.  
  2442.     
  2443.     def add_mapping(*args):
  2444.         return _fstools.CExtentList_add_mapping(*args)
  2445.  
  2446.     
  2447.     def mapping_for(*args):
  2448.         return _fstools.CExtentList_mapping_for(*args)
  2449.  
  2450.     
  2451.     def mapping_index_for(*args):
  2452.         return _fstools.CExtentList_mapping_index_for(*args)
  2453.  
  2454.     
  2455.     def get_mapping_count(*args):
  2456.         return _fstools.CExtentList_get_mapping_count(*args)
  2457.  
  2458.     
  2459.     def get_mapping_length(*args):
  2460.         return _fstools.CExtentList_get_mapping_length(*args)
  2461.  
  2462.     
  2463.     def extend(*args):
  2464.         return _fstools.CExtentList_extend(*args)
  2465.  
  2466.     
  2467.     def get_mapping(*args):
  2468.         return _fstools.CExtentList_get_mapping(*args)
  2469.  
  2470.     __swig_destroy__ = _fstools.delete_CExtentList
  2471.     
  2472.     __del__ = lambda self: pass
  2473.     
  2474.     def __disown__(self):
  2475.         self.this.disown()
  2476.         _fstools.disown_CExtentList(self)
  2477.         return weakref_proxy(self)
  2478.  
  2479.  
  2480. CExtentList_swigregister = _fstools.CExtentList_swigregister
  2481. CExtentList_swigregister(CExtentList)
  2482.  
  2483. class CMappedClusterSpace(CClusterSpace):
  2484.     __swig_setmethods__ = { }
  2485.     for _s in [
  2486.         CClusterSpace]:
  2487.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2488.     
  2489.     
  2490.     __setattr__ = lambda self, name, value: _swig_setattr(self, CMappedClusterSpace, name, value)
  2491.     __swig_getmethods__ = { }
  2492.     for _s in [
  2493.         CClusterSpace]:
  2494.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2495.     
  2496.     
  2497.     __getattr__ = lambda self, name: _swig_getattr(self, CMappedClusterSpace, name)
  2498.     __repr__ = _swig_repr
  2499.     
  2500.     def __init__(self, *args):
  2501.         if self.__class__ == CMappedClusterSpace:
  2502.             args = (None,) + args
  2503.         else:
  2504.             args = (self,) + args
  2505.         this = _fstools.new_CMappedClusterSpace(*args)
  2506.         
  2507.         try:
  2508.             self.this.append(this)
  2509.         except:
  2510.             self.this = this
  2511.  
  2512.  
  2513.     __swig_destroy__ = _fstools.delete_CMappedClusterSpace
  2514.     
  2515.     __del__ = lambda self: pass
  2516.     
  2517.     def get_extents(*args):
  2518.         return _fstools.CMappedClusterSpace_get_extents(*args)
  2519.  
  2520.     
  2521.     def get_cluster_size(*args):
  2522.         return _fstools.CMappedClusterSpace_get_cluster_size(*args)
  2523.  
  2524.     
  2525.     def get_cluster_count(*args):
  2526.         return _fstools.CMappedClusterSpace_get_cluster_count(*args)
  2527.  
  2528.     
  2529.     def _read_clusters(*args):
  2530.         return _fstools.CMappedClusterSpace__read_clusters(*args)
  2531.  
  2532.     
  2533.     def __disown__(self):
  2534.         self.this.disown()
  2535.         _fstools.disown_CMappedClusterSpace(self)
  2536.         return weakref_proxy(self)
  2537.  
  2538.  
  2539. CMappedClusterSpace_swigregister = _fstools.CMappedClusterSpace_swigregister
  2540. CMappedClusterSpace_swigregister(CMappedClusterSpace)
  2541.  
  2542. class CCachedDisk(CBaseDisk):
  2543.     __swig_setmethods__ = { }
  2544.     for _s in [
  2545.         CBaseDisk]:
  2546.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2547.     
  2548.     
  2549.     __setattr__ = lambda self, name, value: _swig_setattr(self, CCachedDisk, name, value)
  2550.     __swig_getmethods__ = { }
  2551.     for _s in [
  2552.         CBaseDisk]:
  2553.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2554.     
  2555.     
  2556.     __getattr__ = lambda self, name: _swig_getattr(self, CCachedDisk, name)
  2557.     __repr__ = _swig_repr
  2558.     
  2559.     def __init__(self, *args):
  2560.         if self.__class__ == CCachedDisk:
  2561.             args = (None,) + args
  2562.         else:
  2563.             args = (self,) + args
  2564.         this = _fstools.new_CCachedDisk(*args)
  2565.         
  2566.         try:
  2567.             self.this.append(this)
  2568.         except:
  2569.             self.this = this
  2570.  
  2571.  
  2572.     
  2573.     def get_sector_count(*args):
  2574.         return _fstools.CCachedDisk_get_sector_count(*args)
  2575.  
  2576.     
  2577.     def get_sector_size(*args):
  2578.         return _fstools.CCachedDisk_get_sector_size(*args)
  2579.  
  2580.     
  2581.     def get_cache_hits(*args):
  2582.         return _fstools.CCachedDisk_get_cache_hits(*args)
  2583.  
  2584.     
  2585.     def get_cache_miss(*args):
  2586.         return _fstools.CCachedDisk_get_cache_miss(*args)
  2587.  
  2588.     
  2589.     def _read_sectors(*args):
  2590.         return _fstools.CCachedDisk__read_sectors(*args)
  2591.  
  2592.     __swig_destroy__ = _fstools.delete_CCachedDisk
  2593.     
  2594.     __del__ = lambda self: pass
  2595.     
  2596.     def __disown__(self):
  2597.         self.this.disown()
  2598.         _fstools.disown_CCachedDisk(self)
  2599.         return weakref_proxy(self)
  2600.  
  2601.  
  2602. CCachedDisk_swigregister = _fstools.CCachedDisk_swigregister
  2603. CCachedDisk_swigregister(CCachedDisk)
  2604.  
  2605. class CNTFSCompressedClusterSpace(CMappedClusterSpace):
  2606.     __swig_setmethods__ = { }
  2607.     for _s in [
  2608.         CMappedClusterSpace]:
  2609.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2610.     
  2611.     
  2612.     __setattr__ = lambda self, name, value: _swig_setattr(self, CNTFSCompressedClusterSpace, name, value)
  2613.     __swig_getmethods__ = { }
  2614.     for _s in [
  2615.         CMappedClusterSpace]:
  2616.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2617.     
  2618.     
  2619.     __getattr__ = lambda self, name: _swig_getattr(self, CNTFSCompressedClusterSpace, name)
  2620.     __repr__ = _swig_repr
  2621.     
  2622.     def __init__(self, *args):
  2623.         if self.__class__ == CNTFSCompressedClusterSpace:
  2624.             args = (None,) + args
  2625.         else:
  2626.             args = (self,) + args
  2627.         this = _fstools.new_CNTFSCompressedClusterSpace(*args)
  2628.         
  2629.         try:
  2630.             self.this.append(this)
  2631.         except:
  2632.             self.this = this
  2633.  
  2634.  
  2635.     
  2636.     def _read_clusters(*args):
  2637.         return _fstools.CNTFSCompressedClusterSpace__read_clusters(*args)
  2638.  
  2639.     __swig_destroy__ = _fstools.delete_CNTFSCompressedClusterSpace
  2640.     
  2641.     __del__ = lambda self: pass
  2642.     
  2643.     def __disown__(self):
  2644.         self.this.disown()
  2645.         _fstools.disown_CNTFSCompressedClusterSpace(self)
  2646.         return weakref_proxy(self)
  2647.  
  2648.  
  2649. CNTFSCompressedClusterSpace_swigregister = _fstools.CNTFSCompressedClusterSpace_swigregister
  2650. CNTFSCompressedClusterSpace_swigregister(CNTFSCompressedClusterSpace)
  2651.  
  2652. class CPartitionEventProducer(_object):
  2653.     __swig_setmethods__ = { }
  2654.     
  2655.     __setattr__ = lambda self, name, value: _swig_setattr(self, CPartitionEventProducer, name, value)
  2656.     __swig_getmethods__ = { }
  2657.     
  2658.     __getattr__ = lambda self, name: _swig_getattr(self, CPartitionEventProducer, name)
  2659.     __repr__ = _swig_repr
  2660.     
  2661.     def __init__(self, *args):
  2662.         if self.__class__ == CPartitionEventProducer:
  2663.             args = (None,) + args
  2664.         else:
  2665.             args = (self,) + args
  2666.         this = _fstools.new_CPartitionEventProducer(*args)
  2667.         
  2668.         try:
  2669.             self.this.append(this)
  2670.         except:
  2671.             self.this = this
  2672.  
  2673.  
  2674.     
  2675.     def _add_listener(*args):
  2676.         return _fstools.CPartitionEventProducer__add_listener(*args)
  2677.  
  2678.     
  2679.     def _remove_listener(*args):
  2680.         return _fstools.CPartitionEventProducer__remove_listener(*args)
  2681.  
  2682.     
  2683.     def get_listener(*args):
  2684.         return _fstools.CPartitionEventProducer_get_listener(*args)
  2685.  
  2686.     
  2687.     def get_listener_count(*args):
  2688.         return _fstools.CPartitionEventProducer_get_listener_count(*args)
  2689.  
  2690.     __swig_destroy__ = _fstools.delete_CPartitionEventProducer
  2691.     
  2692.     __del__ = lambda self: pass
  2693.     
  2694.     def __disown__(self):
  2695.         self.this.disown()
  2696.         _fstools.disown_CPartitionEventProducer(self)
  2697.         return weakref_proxy(self)
  2698.  
  2699.  
  2700. CPartitionEventProducer_swigregister = _fstools.CPartitionEventProducer_swigregister
  2701. CPartitionEventProducer_swigregister(CPartitionEventProducer)
  2702. fstInvalid = _fstools.fstInvalid
  2703. fstUnknown = _fstools.fstUnknown
  2704. fstFAT12 = _fstools.fstFAT12
  2705. fstFAT16 = _fstools.fstFAT16
  2706. fstFAT32 = _fstools.fstFAT32
  2707. fstNTFS = _fstools.fstNTFS
  2708. fnsOk = _fstools.fnsOk
  2709. fnsNeedMoreScan = _fstools.fnsNeedMoreScan
  2710. fnsCancelled = _fstools.fnsCancelled
  2711. pslLevel1 = _fstools.pslLevel1
  2712. pslLevel2 = _fstools.pslLevel2
  2713. pslLevel3 = _fstools.pslLevel3
  2714. pslLevel4 = _fstools.pslLevel4
  2715.  
  2716. class SPartitionInfo(_object):
  2717.     __swig_setmethods__ = { }
  2718.     
  2719.     __setattr__ = lambda self, name, value: _swig_setattr(self, SPartitionInfo, name, value)
  2720.     __swig_getmethods__ = { }
  2721.     
  2722.     __getattr__ = lambda self, name: _swig_getattr(self, SPartitionInfo, name)
  2723.     __repr__ = _swig_repr
  2724.     __swig_setmethods__['fs_type'] = _fstools.SPartitionInfo_fs_type_set
  2725.     __swig_getmethods__['fs_type'] = _fstools.SPartitionInfo_fs_type_get
  2726.     if _newclass:
  2727.         fs_type = _swig_property(_fstools.SPartitionInfo_fs_type_get, _fstools.SPartitionInfo_fs_type_set)
  2728.     
  2729.     __swig_setmethods__['start_sector'] = _fstools.SPartitionInfo_start_sector_set
  2730.     __swig_getmethods__['start_sector'] = _fstools.SPartitionInfo_start_sector_get
  2731.     if _newclass:
  2732.         start_sector = _swig_property(_fstools.SPartitionInfo_start_sector_get, _fstools.SPartitionInfo_start_sector_set)
  2733.     
  2734.     __swig_setmethods__['sectors_count'] = _fstools.SPartitionInfo_sectors_count_set
  2735.     __swig_getmethods__['sectors_count'] = _fstools.SPartitionInfo_sectors_count_get
  2736.     if _newclass:
  2737.         sectors_count = _swig_property(_fstools.SPartitionInfo_sectors_count_get, _fstools.SPartitionInfo_sectors_count_set)
  2738.     
  2739.     __swig_setmethods__['use_custom_boot_sector'] = _fstools.SPartitionInfo_use_custom_boot_sector_set
  2740.     __swig_getmethods__['use_custom_boot_sector'] = _fstools.SPartitionInfo_use_custom_boot_sector_get
  2741.     if _newclass:
  2742.         use_custom_boot_sector = _swig_property(_fstools.SPartitionInfo_use_custom_boot_sector_get, _fstools.SPartitionInfo_use_custom_boot_sector_set)
  2743.     
  2744.     __swig_setmethods__['custom_boot_sector'] = _fstools.SPartitionInfo_custom_boot_sector_set
  2745.     __swig_getmethods__['custom_boot_sector'] = _fstools.SPartitionInfo_custom_boot_sector_get
  2746.     if _newclass:
  2747.         custom_boot_sector = _swig_property(_fstools.SPartitionInfo_custom_boot_sector_get, _fstools.SPartitionInfo_custom_boot_sector_set)
  2748.     
  2749.     
  2750.     def __init__(self, *args):
  2751.         this = _fstools.new_SPartitionInfo(*args)
  2752.         
  2753.         try:
  2754.             self.this.append(this)
  2755.         except:
  2756.             self.this = this
  2757.  
  2758.  
  2759.     __swig_destroy__ = _fstools.delete_SPartitionInfo
  2760.     
  2761.     __del__ = lambda self: pass
  2762.  
  2763. SPartitionInfo_swigregister = _fstools.SPartitionInfo_swigregister
  2764. SPartitionInfo_swigregister(SPartitionInfo)
  2765.  
  2766. class IPartitionFinderListener(_object):
  2767.     __swig_setmethods__ = { }
  2768.     
  2769.     __setattr__ = lambda self, name, value: _swig_setattr(self, IPartitionFinderListener, name, value)
  2770.     __swig_getmethods__ = { }
  2771.     
  2772.     __getattr__ = lambda self, name: _swig_getattr(self, IPartitionFinderListener, name)
  2773.     __repr__ = _swig_repr
  2774.     
  2775.     def on_start_search(*args):
  2776.         return _fstools.IPartitionFinderListener_on_start_search(*args)
  2777.  
  2778.     
  2779.     def on_paritition_found(*args):
  2780.         return _fstools.IPartitionFinderListener_on_paritition_found(*args)
  2781.  
  2782.     
  2783.     def on_progress_notify(*args):
  2784.         return _fstools.IPartitionFinderListener_on_progress_notify(*args)
  2785.  
  2786.     
  2787.     def on_disk_io_error(*args):
  2788.         return _fstools.IPartitionFinderListener_on_disk_io_error(*args)
  2789.  
  2790.     
  2791.     def on_cancel_query(*args):
  2792.         return _fstools.IPartitionFinderListener_on_cancel_query(*args)
  2793.  
  2794.     
  2795.     def on_validate_partition(*args):
  2796.         return _fstools.IPartitionFinderListener_on_validate_partition(*args)
  2797.  
  2798.     
  2799.     def on_finish_search(*args):
  2800.         return _fstools.IPartitionFinderListener_on_finish_search(*args)
  2801.  
  2802.     __swig_destroy__ = _fstools.delete_IPartitionFinderListener
  2803.     
  2804.     __del__ = lambda self: pass
  2805.     
  2806.     def __init__(self, *args):
  2807.         if self.__class__ == IPartitionFinderListener:
  2808.             args = (None,) + args
  2809.         else:
  2810.             args = (self,) + args
  2811.         this = _fstools.new_IPartitionFinderListener(*args)
  2812.         
  2813.         try:
  2814.             self.this.append(this)
  2815.         except:
  2816.             self.this = this
  2817.  
  2818.  
  2819.     
  2820.     def __disown__(self):
  2821.         self.this.disown()
  2822.         _fstools.disown_IPartitionFinderListener(self)
  2823.         return weakref_proxy(self)
  2824.  
  2825.  
  2826. IPartitionFinderListener_swigregister = _fstools.IPartitionFinderListener_swigregister
  2827. IPartitionFinderListener_swigregister(IPartitionFinderListener)
  2828.  
  2829. class CBasePartitionFinder(CPartitionEventProducer):
  2830.     __swig_setmethods__ = { }
  2831.     for _s in [
  2832.         CPartitionEventProducer]:
  2833.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2834.     
  2835.     
  2836.     __setattr__ = lambda self, name, value: _swig_setattr(self, CBasePartitionFinder, name, value)
  2837.     __swig_getmethods__ = { }
  2838.     for _s in [
  2839.         CPartitionEventProducer]:
  2840.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2841.     
  2842.     
  2843.     __getattr__ = lambda self, name: _swig_getattr(self, CBasePartitionFinder, name)
  2844.     __repr__ = _swig_repr
  2845.     
  2846.     def __init__(self, *args):
  2847.         if self.__class__ == CBasePartitionFinder:
  2848.             args = (None,) + args
  2849.         else:
  2850.             args = (self,) + args
  2851.         this = _fstools.new_CBasePartitionFinder(*args)
  2852.         
  2853.         try:
  2854.             self.this.append(this)
  2855.         except:
  2856.             self.this = this
  2857.  
  2858.  
  2859.     
  2860.     def do_search(*args):
  2861.         return _fstools.CBasePartitionFinder_do_search(*args)
  2862.  
  2863.     
  2864.     def validate_boot_sector(*args):
  2865.         return _fstools.CBasePartitionFinder_validate_boot_sector(*args)
  2866.  
  2867.     
  2868.     def validate_partition(*args):
  2869.         return _fstools.CBasePartitionFinder_validate_partition(*args)
  2870.  
  2871.     
  2872.     def notify_found_partition(*args):
  2873.         return _fstools.CBasePartitionFinder_notify_found_partition(*args)
  2874.  
  2875.     
  2876.     def notify_progress(*args):
  2877.         return _fstools.CBasePartitionFinder_notify_progress(*args)
  2878.  
  2879.     
  2880.     def notify_disk_io_error(*args):
  2881.         return _fstools.CBasePartitionFinder_notify_disk_io_error(*args)
  2882.  
  2883.     
  2884.     def query_cancel(*args):
  2885.         return _fstools.CBasePartitionFinder_query_cancel(*args)
  2886.  
  2887.     
  2888.     def get_disk(*args):
  2889.         return _fstools.CBasePartitionFinder_get_disk(*args)
  2890.  
  2891.     
  2892.     def find_partitions(*args):
  2893.         return _fstools.CBasePartitionFinder_find_partitions(*args)
  2894.  
  2895.     __swig_destroy__ = _fstools.delete_CBasePartitionFinder
  2896.     
  2897.     __del__ = lambda self: pass
  2898.     
  2899.     def __disown__(self):
  2900.         self.this.disown()
  2901.         _fstools.disown_CBasePartitionFinder(self)
  2902.         return weakref_proxy(self)
  2903.  
  2904.  
  2905. CBasePartitionFinder_swigregister = _fstools.CBasePartitionFinder_swigregister
  2906. CBasePartitionFinder_swigregister(CBasePartitionFinder)
  2907.  
  2908. class CScannedPartitionFinder(CBasePartitionFinder):
  2909.     __swig_setmethods__ = { }
  2910.     for _s in [
  2911.         CBasePartitionFinder]:
  2912.         __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', { }))
  2913.     
  2914.     
  2915.     __setattr__ = lambda self, name, value: _swig_setattr(self, CScannedPartitionFinder, name, value)
  2916.     __swig_getmethods__ = { }
  2917.     for _s in [
  2918.         CBasePartitionFinder]:
  2919.         __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', { }))
  2920.     
  2921.     
  2922.     __getattr__ = lambda self, name: _swig_getattr(self, CScannedPartitionFinder, name)
  2923.     __repr__ = _swig_repr
  2924.     
  2925.     def do_search(*args):
  2926.         return _fstools.CScannedPartitionFinder_do_search(*args)
  2927.  
  2928.     
  2929.     def __init__(self, *args):
  2930.         if self.__class__ == CScannedPartitionFinder:
  2931.             args = (None,) + args
  2932.         else:
  2933.             args = (self,) + args
  2934.         this = _fstools.new_CScannedPartitionFinder(*args)
  2935.         
  2936.         try:
  2937.             self.this.append(this)
  2938.         except:
  2939.             self.this = this
  2940.  
  2941.  
  2942.     
  2943.     def get_last_scanned_sector(*args):
  2944.         return _fstools.CScannedPartitionFinder_get_last_scanned_sector(*args)
  2945.  
  2946.     __swig_destroy__ = _fstools.delete_CScannedPartitionFinder
  2947.     
  2948.     __del__ = lambda self: pass
  2949.     
  2950.     def __disown__(self):
  2951.         self.this.disown()
  2952.         _fstools.disown_CScannedPartitionFinder(self)
  2953.         return weakref_proxy(self)
  2954.  
  2955.     
  2956.     def validate_boot_sector(*args):
  2957.         return _fstools.CScannedPartitionFinder_validate_boot_sector(*args)
  2958.  
  2959.     
  2960.     def validate_partition(*args):
  2961.         return _fstools.CScannedPartitionFinder_validate_partition(*args)
  2962.  
  2963.     
  2964.     def notify_found_partition(*args):
  2965.         return _fstools.CScannedPartitionFinder_notify_found_partition(*args)
  2966.  
  2967.     
  2968.     def notify_progress(*args):
  2969.         return _fstools.CScannedPartitionFinder_notify_progress(*args)
  2970.  
  2971.     
  2972.     def notify_disk_io_error(*args):
  2973.         return _fstools.CScannedPartitionFinder_notify_disk_io_error(*args)
  2974.  
  2975.     
  2976.     def query_cancel(*args):
  2977.         return _fstools.CScannedPartitionFinder_query_cancel(*args)
  2978.  
  2979.  
  2980. CScannedPartitionFinder_swigregister = _fstools.CScannedPartitionFinder_swigregister
  2981. CScannedPartitionFinder_swigregister(CScannedPartitionFinder)
  2982. is_valid_mbr = _fstools.is_valid_mbr
  2983. is_boot_sector = _fstools.is_boot_sector
  2984. is_ntfs_boot_sector = _fstools.is_ntfs_boot_sector
  2985. is_fat12_boot_sector = _fstools.is_fat12_boot_sector
  2986. is_fat16_boot_sector = _fstools.is_fat16_boot_sector
  2987. is_fat32_boot_sector = _fstools.is_fat32_boot_sector
  2988. dbg_get_stat = _fstools.dbg_get_stat
  2989. new_buffer = _fstools.new_buffer
  2990. CreateCRefBufferSpace = _fstools.CreateCRefBufferSpace
  2991. _CreateCScannedPartitionFinder = _fstools._CreateCScannedPartitionFinder
  2992. _CreateCClusterLinearizer = _fstools._CreateCClusterLinearizer
  2993. _CreateCLinearClusterizer = _fstools._CreateCLinearClusterizer
  2994. _CreateCMappedClusterSpace = _fstools._CreateCMappedClusterSpace
  2995. _CreateCNTFSCompressedClusterSpace = _fstools._CreateCNTFSCompressedClusterSpace
  2996. _CreateCDiskClusterizer = _fstools._CreateCDiskClusterizer
  2997. _CreateCCachedDisk = _fstools._CreateCCachedDisk
  2998. CreateCOSDisk = _fstools.CreateCOSDisk
  2999. parse_mft_record = _fstools.parse_mft_record
  3000. new_ntfs_filename_object = _fstools.new_ntfs_filename_object
  3001. new_ntfs_attrlist_object = _fstools.new_ntfs_attrlist_object
  3002. new_ntfs_indexentry_object = _fstools.new_ntfs_indexentry_object
  3003. new_ntfs_indexroot_object = _fstools.new_ntfs_indexroot_object
  3004. new_ntfs_indexblock_object = _fstools.new_ntfs_indexblock_object
  3005. new_ntfs_attrdef_object = _fstools.new_ntfs_attrdef_object
  3006. new_ntfs_volumeinformation_object = _fstools.new_ntfs_volumeinformation_object
  3007. ntfs_bootsector_from = _fstools.ntfs_bootsector_from
  3008. new_ntfs_stdinfo_object = _fstools.new_ntfs_stdinfo_object
  3009. new_ntfs_stdinfov3_object = _fstools.new_ntfs_stdinfov3_object
  3010.  
  3011. class DiskAccessViolation(Exception):
  3012.     
  3013.     def __init__(self, sector_address_start, sector_address_end):
  3014.         Exception.__init__(self, 'Disk access violation at address [%s:%s]' % (hex(sector_address_start), hex(sector_address_end)))
  3015.  
  3016.  
  3017.  
  3018. class DiskOSError(Exception):
  3019.     
  3020.     def __init__(self, start_address, end_address):
  3021.         Exception.__init__(self, 'OS error in [%s:%s] sector range' % (hex(start_address), hex(end_address)))
  3022.  
  3023.  
  3024.  
  3025. def _process_code(code, data, start, count):
  3026.     if code == RDS_OK:
  3027.         return str(data)
  3028.     elif code == RDS_IO_ERROR:
  3029.         raise IOError('Read sectors at %s, len=%s' % (hex(start), hex(count)))
  3030.     elif code == RDS_ACCESS_ERROR:
  3031.         raise DiskAccessViolation(start, start + count)
  3032.     elif code == RDS_OS_ERROR:
  3033.         raise DiskOSError(start, start + count)
  3034.     else:
  3035.         raise Exception('Unknown disk read error - code %s at range [%s:%s]' % (code, hex(start), hex(start + count)))
  3036.  
  3037.  
  3038. def _read_sectors(self, start, count):
  3039.     data = new_buffer(int(count * self.get_sector_size()))
  3040.     code = self._read_sectors(start, count, data)
  3041.     return _process_code(code, data, start, count)
  3042.  
  3043.  
  3044. def _read_clusters(self, start, count):
  3045.     data = new_buffer(int(count * self.get_cluster_size()))
  3046.     code = self._read_clusters(start, count, data)
  3047.     return _process_code(code, data, start, count)
  3048.  
  3049.  
  3050. def _read_data(self, start, count):
  3051.     data = new_buffer(int(count))
  3052.     code = self._read_data(start, count, data)
  3053.     return _process_code(code, data, start, count)
  3054.  
  3055.  
  3056. def disk__getitem__(self, key):
  3057.     if isinstance(key, int) or isinstance(key, long):
  3058.         return self.read_sectors(key, 1)
  3059.     elif isinstance(key, slice):
  3060.         if not key.start >= 0 and key.stop >= 0 or key.step is None:
  3061.             raise AssertionError
  3062.         return self.read_sectors(key.start, key.stop - key.start)
  3063.     else:
  3064.         raise TypeError('Invalid sector addressing')
  3065.  
  3066. CBaseDisk.sector_count = property((lambda self: self.get_sector_count()))
  3067. CBaseDisk.sector_size = property((lambda self: self.get_sector_size()))
  3068. CBaseDisk.read_sectors = _read_sectors
  3069. CBaseDisk.__getitem__ = disk__getitem__
  3070. CLinearSpace.size = property((lambda self: self.get_size()))
  3071. CLinearSpace.read_data = _read_data
  3072. CClusterSpace.cluster_count = property((lambda self: self.get_cluster_count()))
  3073. CClusterSpace.cluster_size = property((lambda self: self.get_cluster_size()))
  3074. CClusterSpace.read_clusters = _read_clusters
  3075.  
  3076. def CreateCClusterLinearizer(target_space, linear_limit, start_cluster):
  3077.     R = _CreateCClusterLinearizer(target_space, linear_limit, start_cluster)
  3078.     R._target_space = target_space
  3079.     return R
  3080.  
  3081.  
  3082. def __add_listener(self, listener):
  3083.     self._listeners[listener] = 1
  3084.     return self._add_listener(listener)
  3085.  
  3086.  
  3087. def __remove_listener(self, listener):
  3088.     
  3089.     try:
  3090.         del self._listeners[listener]
  3091.     except:
  3092.         pass
  3093.  
  3094.     return self._remove_listener(listener)
  3095.  
  3096. CScannedPartitionFinder.add_listener = __add_listener
  3097. CScannedPartitionFinder.remove_listener = __remove_listener
  3098.  
  3099. def __init_listeners(obj):
  3100.     obj._listeners = { }
  3101.  
  3102.  
  3103. def CreateCScannedPartitionFinder(disk, level, start_sector):
  3104.     R = _CreateCScannedPartitionFinder(disk, level, start_sector)
  3105.     R._disk = disk
  3106.     __init_listeners(R)
  3107.     return R
  3108.  
  3109.  
  3110. def CreateCLinearClusterizer(target_space, cluster_size, cluster_limit, start_pos):
  3111.     R = _CreateCLinearClusterizer(target_space, cluster_size, cluster_limit, start_pos)
  3112.     R._target_space = target_space
  3113.     return R
  3114.  
  3115.  
  3116. def CreateCMappedClusterSpace(target_space):
  3117.     R = _CreateCMappedClusterSpace(target_space)
  3118.     R._target_space = target_space
  3119.     return R
  3120.  
  3121.  
  3122. def CreateCCachedDisk(target_disk, line_bits, max_cache_lines):
  3123.     R = _CreateCCachedDisk(target_disk, line_bits, max_cache_lines)
  3124.     R._target_disk = target_disk
  3125.     return R
  3126.  
  3127.  
  3128. def CreateCDiskClusterizer(target_disk, sectors_per_cluster, sector_count, start_sector):
  3129.     R = _CreateCDiskClusterizer(target_disk, sectors_per_cluster, sector_count, start_sector)
  3130.     R._target_disk = target_disk
  3131.     return R
  3132.  
  3133.  
  3134. def CreateCNTFSCompressedClusterSpace(target_space, compression_unit):
  3135.     R = _CreateCNTFSCompressedClusterSpace(target_space, compression_unit)
  3136.     R._target_space = target_space
  3137.     return R
  3138.  
  3139.  
  3140. def print_stat():
  3141.     keys = [
  3142.         'DbgCClusterSpaceCreated',
  3143.         'DbgCClusterSpaceDisposed',
  3144.         'DbgCLinearSpaceCreated',
  3145.         'DbgCLinearSpaceDisposed',
  3146.         'DbgCRefBufferSpaceCreated',
  3147.         'DbgCRefBufferSpaceDisposed',
  3148.         'DbgCClusterLinearizerCreated',
  3149.         'DbgCClusterLinearizerDisposed',
  3150.         'DbgCLinearClusterizerCreated',
  3151.         'DbgCLinearClusterizerDisposed',
  3152.         'DbgCBaseDiskCreated',
  3153.         'DbgCBaseDiskDisposed',
  3154.         'DbgCOSDiskCreated',
  3155.         'DbgCOSDiskDisposed',
  3156.         'DbgCExtentListCreated',
  3157.         'DbgCExtentListDisposed',
  3158.         'DbgCMappedClusterSpaceCreated',
  3159.         'DbgCMappedClusterSpaceDisposed',
  3160.         'DbgCDiskClusterizerCreated',
  3161.         'DbgCDiskClusterizerDisposed',
  3162.         'DbgCSimpleListCreated',
  3163.         'DbgCSimpleListDisposed']
  3164.     print '**** Object creation statistics: ****'
  3165.     for key in keys:
  3166.         print '%30s' % key, '\t', eval('cvar.' + key)
  3167.     
  3168.     print '*************************************'
  3169.  
  3170. DbgCClusterSpaceCreated = cvar.DbgCClusterSpaceCreated
  3171. DbgCClusterSpaceDisposed = cvar.DbgCClusterSpaceDisposed
  3172. DbgCLinearSpaceCreated = cvar.DbgCLinearSpaceCreated
  3173. DbgCLinearSpaceDisposed = cvar.DbgCLinearSpaceDisposed
  3174. DbgCRefBufferSpaceCreated = cvar.DbgCRefBufferSpaceCreated
  3175. DbgCRefBufferSpaceDisposed = cvar.DbgCRefBufferSpaceDisposed
  3176. DbgCClusterLinearizerCreated = cvar.DbgCClusterLinearizerCreated
  3177. DbgCClusterLinearizerDisposed = cvar.DbgCClusterLinearizerDisposed
  3178. DbgCLinearClusterizerCreated = cvar.DbgCLinearClusterizerCreated
  3179. DbgCLinearClusterizerDisposed = cvar.DbgCLinearClusterizerDisposed
  3180. DbgCBaseDiskCreated = cvar.DbgCBaseDiskCreated
  3181. DbgCBaseDiskDisposed = cvar.DbgCBaseDiskDisposed
  3182. DbgCOSDiskCreated = cvar.DbgCOSDiskCreated
  3183. DbgCOSDiskDisposed = cvar.DbgCOSDiskDisposed
  3184. DbgCExtentListCreated = cvar.DbgCExtentListCreated
  3185. DbgCExtentListDisposed = cvar.DbgCExtentListDisposed
  3186. DbgCMappedClusterSpaceCreated = cvar.DbgCMappedClusterSpaceCreated
  3187. DbgCMappedClusterSpaceDisposed = cvar.DbgCMappedClusterSpaceDisposed
  3188. DbgCDiskClusterizerCreated = cvar.DbgCDiskClusterizerCreated
  3189. DbgCDiskClusterizerDisposed = cvar.DbgCDiskClusterizerDisposed
  3190. DbgCSimpleListCreated = cvar.DbgCSimpleListCreated
  3191. DbgCSimpleListDisposed = cvar.DbgCSimpleListDisposed
  3192.